github.com/panekj/cli@v0.0.0-20230304125325-467dd2f3797e/docs/reference/commandline/container_commit.md (about)

     1  # container 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`   |          |         | Pause container during commit                              |
    18  
    19  
    20  <!---MARKER_GEN_END-->
    21  
    22  ## Description
    23  
    24  See [docker commit](commit.md) for more information.