How to update docker container running on Amazon ECS
I’m very new to Amazon ECS, and I’ve written a task definition with 3 containers. One for my php application (main-server), second for node application (pubsub-server) and a redis container.
pubsub-server link to
redis container. (Is this the best way to arrange the containers?)
The cluster runs well. However, I have an update to make in my
main-server. I am able to push the updated image to Amazon ECR but my changes don’t reflect on the cluster. Is there any additional step to perform to run the updated container on push?
I have tried deregistering the tasks and activating them back. But it doesn’t seem to work.
Please let me know if I need to provide anymore details.