Legacy Knowledge Base
Published Sep. 10, 2025

Server shuts down abruptly when installing hotfixes in Docker

Written By

Tony Ng

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

When attempting to install a hotfix using Docker, the server appears to start normally but then shuts down abruptly. However when the hotfix is removed, everything starts up normally.

Environment

  • DXP 7.3
  • DXP 7.4

Resolution

This issue is likely due to insufficient memory, which can be resolved by either increasing the memory on the Liferay container or Docker itself:

  1. Increase the memory to the Liferay container by increasing the value after the -m flag:
    docker run -it -m 8g -p 8080:8080 liferay/portal:7.4.3.29-ga29
  2. Check how much memory is allocated to the docker engine by navigating to Preferences > Resources > Advanced and increase the memory if it's less than 8GB.image-2022-07-25-13-05-16-275.png

Additional Information

  • For MAC users, 8GB should be enough, but others reported that 12GB was needed.

 

 

 

Did this article resolve your issue ?

Legacy Knowledge Base