DOCKER(1) Docker User Manuals DOCKER(1)

docker-commit - Create a new image from a container's changes

docker commit [OPTIONS] CONTAINER [REPOSITORY[:TAG]]

Alias for docker container commit.

-a, --author="" Author (e.g., "John Hannibal Smith hannibal@a-team.com ⟨mailto:hannibal@a-team.com⟩")

-c, --change= Apply Dockerfile instruction to the created image

-h, --help[=false] help for commit

-m, --message="" Commit message

-p, --pause[=true] Pause container during commit

docker(1)

May 2024 Docker Community