mirror of
https://github.com/clearlinux/docker.git
synced 2026-10-04 07:48:44 +00:00
updated docs & tests
Docker-DCO-1.1-Signed-off-by: Victor Vieux <vieux@docker.com> (github: vieux)
This commit is contained in:
@@ -19,6 +19,9 @@ Using an existing container's name or ID you can create a new image.
|
||||
**-m, --message**=""
|
||||
Commit message
|
||||
|
||||
**-p, --pause**=true
|
||||
Pause container during commit
|
||||
|
||||
# EXAMPLES
|
||||
|
||||
## Creating a new image from an existing container
|
||||
|
||||
@@ -49,6 +49,11 @@ daemon is configured to listen on.
|
||||
**New!**
|
||||
`start` and `stop` will now return 304 if the container's status is not modified
|
||||
|
||||
`POST /commit`
|
||||
|
||||
**New!**
|
||||
Added a `pause` parameter (default `true`) to pause the container during commit
|
||||
|
||||
## v1.12
|
||||
|
||||
### Full Documentation
|
||||
|
||||
@@ -346,7 +346,7 @@ is better to use Dockerfiles to manage your images in a documented and
|
||||
maintainable way.
|
||||
|
||||
By default, the container being committed and its processes will be paused
|
||||
during the process of committing the image. This reduces the likelihood of
|
||||
while the image is committed. This reduces the likelihood of
|
||||
encountering data corruption during the process of creating the commit.
|
||||
If this behavior is undesired, set the 'p' option to false.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user