dockerhub - AWS - automatically pick new versions of a container -


ok, have created ec2 container service cluster, task definition , able run task. it's simple website in container. whenever push changes bitbucket, docker hub picks source , builds new image. task definition in aws points automatically built docker image; picks when starting. when image changes nothing happens.

what need make ec2 cs pick latest container version?

if restart ecs container instance, pull latest image (provided have not specified tag, else pull last version of tagged image).

if want deploy new version of image, best thing create new version of task definition, without changing , update service , pick last task definition version created.

it documented in second paragraph of page : http://docs.aws.amazon.com/amazonecs/latest/developerguide/update-service.html


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -