commit Create a new image from a container’s changes. More…
Create a new image from a container’s changes. More information: https://docs.docker.com/engine/reference/commandline/commit/.
docker commit {{container}} {{image}}:{{tag}}
CMD
Dockerfile instruction to the created image:docker commit --change="CMD {{command}}" {{container}} {{image}}:{{tag}}
ENV
Dockerfile instruction to the created image:docker commit --change="ENV {{name}}={{value}}" {{container}} {{image}}:{{tag}}
docker commit --author="{{author}}" {{container}} {{image}}:{{tag}}
docker commit --message="{{comment}}" {{container}} {{image}}:{{tag}}
docker commit --pause={{false}} {{container}} {{image}}:{{tag}}
docker commit --help