I have a setup of multi containers with Dockerrun.aws.json setup to pick the images from ECR
"image": "xxxxxxx.dkr.ecr.eu-west-1.amazonaws.com/yyyyyyyyyy:latest",
I have done some modifications to the containers and wish to test it locally
But no matter what i do it seems that the images used are old
I even tried to build and push with new tag and switched the conf to use it
But still i get the same behavior
The .elasticbeanstalk/docker-compose.yml file seems to get updated , but even running docker-compose up --build with it still uses the older image
I even tried running docker system prune -a to make eb pull the new tagged container - but still , somehow, i got the old images again
when i run the docker-compose with my own docker-compose.yml - it uses the newly created image
When i run the docker ps -a , i can see that the containers used are only different by their name (my yml has container_name in it , and yes removing the name and build and push again did nothing)
What have i missed or did not fully understand ?
is there any way to make eb local rebuild and use the latest images locally?