Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Make containers stopped after the linked containers stopped #1809
This PR is for #474
When a container is stopped, check if other containers linking to the container have already stopped.
Volume dependency is not required to be checked because even if the volume container is stopped, other container can use the volume.
New tests cover the changes: yes
Description for the changelog
Make containers stopped after the linked containers stopped
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
@snowhork thank you for your efforts on this PR. As you mentioned, we are currently working on code changes that include more than just the termination order but also the start order of containers based on dependencies in an ECS task. We are sorry that we could not accept this PR at this moment. Please watch out this branch https://github.com/aws/amazon-ecs-agent/tree/container-ordering-feature for updates on this feature.