How do I deploy updated Docker images to Amazon ECS tasks?

前端 未结 12 1091
灰色年华
灰色年华 2021-01-29 22:00

What is the right approach to make my Amazon ECS tasks update their Docker images, once said images have been updated in the corresponding registry?

12条回答
  •  再見小時候
    2021-01-29 22:50

    The following commands worked for me

    docker build -t  . 
    docker push 
    ecs-cli compose stop
    ecs-cli compose start
    

提交回复
热议问题