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

后端 未结 4 1737
余生分开走
余生分开走 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:43

    To create a image from container execute the command below:

    docker commit hw_container hw_image

提交回复
热议问题