Licensing DXP in Docker
If you’re using a DXP trial license that’s expiring or you have a new license (activation key) you must install, you can replace your container’s existing license.
Here’s an example license expiration log message:
Each DXP Docker image contains a temporary trial license (trial-dxp-license-[id-number].xml
) that expires one month after the image was created.
Here’s how to replace a license:
-
Open a Bash shell in your container.
-
Remove the existing license files.
-
Remove all trial licenses and activation key files from the OSGi modules folder.
-
Exit the Bash shell.
-
Copy the new license/key file to the container.
Alternatively, if you have associated a bind mount with the container, you can copy the license/key file to the folder mapped to
/mnt/liferay/deploy
.See Providing Files to the Container for more information.
DXP logs the license installation. For example,
Congratulations on updating your DXP license!