docker-container-commit
Create a new image from a container's changes. tldr-pages
On several platforms
Several platforms
Create an image from a specific container
docker [commit|container commit] container image:tagIdentifyApply a CMD Dockerfile instruction to the created image
docker [commit|container commit] --change "CMD command" container image:tagIdentifyApply an ENV Dockerfile instruction to the created image
docker [commit|container commit] --change "ENV name=value" container image:tagIdentifyCreate an image with a specific author in the metadata
docker [commit|container commit] --author "author" container image:tagIdentifyCreate an image with a specific comment in the metadata
docker [commit|container commit] --message "comment" container image:tagIdentifyCreate an image without pausing the container during commit
docker [commit|container commit] --pause false container image:tagIdentifyDisplay help
docker [commit|container commit] --helpIdentify