-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moodle docker image is not working on amazon linux (EC2) #41
Comments
You can check your logs for the two executing containers. My initial theory is the t2.micro (1 core / 1gb) doesn't have enough memory to support both moodle (512mb minimum) and mysql (512mb minimum) while also supporting system services on the node. But if you look at the log output, it might give you a direction to chase. |
I have enough space. Containers are running:
Moodle container logs (I think apache is at fault, do we need to run any steps to access moodle using ipaddress?)
Mysql Container logs:
|
Describe the issue
Moodle docker image is not working on amazon linux (EC2)
$ uname -a
*********** SMP Wed Apr 1 18:06:08 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
To Reproduce
Take an EC2(t2.micro) and below the same steps provided in readme file
Expected behavior
After starting docker container, I am unable to access via IP address(public IP of my EC2 instance). Production deployment steps also din't help.
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
874276ba5c6e jhardison/moodle "/etc/apache2/foregr…" 11 minutes ago Up 11 minutes 0.0.0.0:8080->80/tcp, 0.0.0.0:32770->443/tcp moodle
0ded0b425ce1 mysql:5 "docker-entrypoint.s…" 12 minutes ago Up 12 minutes 0.0.0.0:3306->3306/tcp, 33060/tcp DB
Can someone help. Thanks in advance.
The text was updated successfully, but these errors were encountered: