DOCKER(1) Docker User Manuals DOCKER(1) (NAME) docker-container-commit - (SYNOPSIS) docker container commit [OPTIONS] CONTAINER [REPOSITORY[:TAG]] (DESCRIPTION) . (data volume). docker-tag(1) . docker commit Dockerfile docker build . (EXAMPLES) (Creating a new image from an existing container) Fedora bash Apache . Apache . docker ps : $ docker commit -m="Added Apache to Fedora base image" \ -a="A D Ministrator" 98bd7fc99854 fedora/fedora_httpd:20 a-z0-9-_. . Dockerfile (Apply specified Dockerfile instructions while committing the image) DEBUG "true" docker ps : $ docker container commit -c="ENV DEBUG=true" 98bd7fc99854 debug-image (OPTIONS) -a, --author="" ( "John Hannibal Smith hannibal@a-team.com ") -c, --change= Dockerfile -m, --message="" --no-pause[=false] (pause) (SEE ALSO) docker-container(1) Docker Community Aug 2026 DOCKER(1)