How to create a new docker image from a running container on Amazon?

后端 未结 4 1742
余生分开走
余生分开走 2020-12-10 12:58

Here is my problem:

I have a task running a Docker image on Amazon ECS but I would like to make a new Docker image from the running instance of the container.

4条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-10 13:20

    You can run docker commit (docs) to save the container to an image, then push that image with a new tag to the registry.

提交回复
热议问题