docs/_data/engine-cli/docker_commit.yaml

23 lines
613 B
YAML

command: docker commit
short: Create a new image from a container's changes
long: |
Alias for `docker container commit`.
usage: docker commit [OPTIONS] CONTAINER [REPOSITORY[:TAG]]
pname: docker
plink: docker.yaml
options:
- option: author
shorthand: a
description: Author (e.g., "John Hannibal Smith <hannibal@a-team.com>")
- option: change
shorthand: c
default_value: '[]'
description: Apply Dockerfile instruction to the created image
- option: message
shorthand: m
description: Commit message
- option: pause
shorthand: p
default_value: "true"
description: Pause container during commit