docker commit

Create a new image from a container’s changes. More information: https://docs.docker.com/engine/reference/commandline/commit/.

docker commit container image:tag

docker commit --change "CMD command" container image:tag

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