-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[BUG] Docker image doesn't work in AWS EB environment #367
Comments
FROM <base_image> Add files to the root directoryADD file ... / Update and install dependenciesRUN set -eux; Set environment variablesENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin Set working directoryWORKDIR /usr/src/app Copy application code to the containerCOPY . . Install dependenciesRUN set -eux; Expose the necessary portEXPOSE 5000 Start the applicationCMD ["python", "./app.py"]
|
I got error when i deploy docker with AWS.
"Instance deployment: The Docker container unexpectedly ended after it was started."
This is my error message.
i checked my docker image run well in my local.
But in AWS, it doesn't work.
https://hub.docker.com/layers/bong69/catnip3/latest/images/sha256:06d39482c21038315bdc3234acea1b9686cee696831ffed471e294c92b61fc3d
This is my docker hub.
Help me plz.
I'm spending 2 days for problem solving for AWS setting and this error
The text was updated successfully, but these errors were encountered: