Liferay 7 Docker Image Cannot Boot on Amazon EC2

Asked 2 years ago, Updated 2 years ago, 119 views

I prepared Amazon EC2 for the development environment and tried to launch Liferay from docker by referring to Liferay formula: starting with Docker image, but it stopped halfway.

>docker run-it-p 8080:8080 liferay/portal:7.3.1-ga2

Enter a description of the image here

Before this condition, there was not enough memory, so when I increased the swap to 2GB, it went as shown in the image.

However, it didn't go any further, so I tried to increase the volume of EC2 to 20GB just in case, but the situation didn't change.

How can I get to the next message?

> Wait until you see org.apache.catalina.startup.Catalina.startServer startup in [x] milliseconds to indicator startup completion.

Please let me know if anyone knows.Thank you for your cooperation.

environment:

·Amazon EC2(t2.micro)
·Docker introduced
·Docker image obtained from Liferay formula
·Change swap to 2GB and expand

reference:

Change to 2GB
EC2 has no SWAP

US>Extended
When I try to expand the EBS volume size, I can't execute the extended command with 100% disk utilization

java docker amazon-ec2

2022-09-30 15:49

1 Answers

Thank you for the editing comments.

Instance Type
·t2.medium (4GB)
·t2.large(8GB)
After trying each of them, I was able to confirm the boot of both of them.

However, I decided to use docker in the middle this time, so
It's a little different from the first question environment, but
Either way, I understand that there was not enough memory.


2022-09-30 15:49

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.