docker commit <container> <[REPOSITORY[:TAG]]>

Create a new image from a container's changes

Arguments

NameDescription
container
[REPOSITORY[:TAG]]

Options

NameDescription
-a, --author <string>Author (e.g., "John Hannibal Smith <hannibal@a-team.com>")
-c, --change <list>Apply Dockerfile instruction to the created image
-m, --message <string>Commit message
-p, --pausePause container during commit (default true)