github.com/khulnasoft/cli@v0.0.0-20240402070845-01bcad7beefa/docs/reference/commandline/commit.md (about) 1 # docker commit 2 3 <!---MARKER_GEN_START--> 4 Create a new image from a container's changes 5 6 ### Aliases 7 8 `docker container commit`, `docker commit` 9 10 ### Options 11 12 | Name | Type | Default | Description | 13 |:------------------|:---------|:--------|:-----------------------------------------------------------| 14 | `-a`, `--author` | `string` | | Author (e.g., `John Hannibal Smith <hannibal@a-team.com>`) | 15 | `-c`, `--change` | `list` | | Apply Dockerfile instruction to the created image | 16 | `-m`, `--message` | `string` | | Commit message | 17 | `-p`, `--pause` | `bool` | `true` | Pause container during commit | 18 19 20 <!---MARKER_GEN_END--> 21