You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recreating temp_tomcat_1...
Attaching to temp_tomcat_1
tomcat_1 | Invalid initial heap size: -Xms5000m -Xmx10000m
tomcat_1 | Error: Could not create the Java Virtual Machine.
tomcat_1 | Error: A fatal exception has occurred. Program will exit.
temp_tomcat_1 exited with code 1
Gracefully stopping... (press Ctrl+C again to force)
If I run official image of tomcat with this command:
docker exec -d -e JAVA_OPTS="-Xms5000m -Xmx10000m" tomcat:8
tomcat starts successfully
but if i create docker-compose.yml with this content
and then I run:
I get this output:
Any ideas what is wrong?
my system:
The text was updated successfully, but these errors were encountered: