-
Notifications
You must be signed in to change notification settings - Fork 10
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
New platform branch to support ECS-based docker running on AL2 #163
Comments
ok here is another scenario that makes
with |
I've seen that on AL1 as well... |
Thanks for bringing this back to our attention. For customers who prefer to use docker-compose to ensure container running after it was killed, please consider adding restart policy in your docker-compose.yml, more details are here For customers who prefer essential parameter that is supported by ECS, we are currently working on a new platform branch to support ECS-based docker running on AL2, so it would be simpler port for environments running on Multicontainer docker platform |
Community Note
Tell us about your request
in
Multicontainer Docker platform (Amazon Linux AMI)
there was an option to provideessential
inDockerrun.aws.json
so that entire EB docker run script re triggers if essential container fails.Example :
Now that I've switched to Docker Amazon Linux 2 and
docker-compose.yml
there is no option for me to specify which containers are essential (docker steps for EB should restart)Yes
docer-compose.yml
provides depends_on but this will not prompt EB to restart the cycle to try re-up the containers as it was inMulticontainer Docker Platform
with Dockerrun fileNothing will happen if
worker
container diesthing to consider
one way to solve this globally for all EB Linux 2 platforms would be to use
docker-compose up --abort-on-container-exit
(as mentioned in this stack overflow issue ) but that may not be the best for all use cases of all EB applicationsThe text was updated successfully, but these errors were encountered: