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