diff options
author | baude <bbaude@redhat.com> | 2018-03-06 10:42:13 -0600 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-03-07 20:59:11 +0000 |
commit | 4344639508ccd16041d1ec7fd531b6427f930374 (patch) | |
tree | 4b28256bae65377bdf4f4900461f3f5379869bf1 /docs | |
parent | f57b7bbf43fe7fc7ada8055911c7ac55e53fa698 (diff) | |
download | podman-4344639508ccd16041d1ec7fd531b6427f930374.tar.gz podman-4344639508ccd16041d1ec7fd531b6427f930374.tar.bz2 podman-4344639508ccd16041d1ec7fd531b6427f930374.zip |
podman import, load, and commit are too verbose
The progress should not be show for import, load, and commit. It makes machine
parsing of the output much more difficult. Also, each command should output an
image ID or name for the user.
Added a --verbose flag for users that still want to see progress.
Resolves issue #450
Signed-off-by: baude <bbaude@redhat.com>
Closes: #456
Approved by: rhatdan
Diffstat (limited to 'docs')
-rw-r--r-- | docs/podman-commit.1.md | 38 | ||||
-rw-r--r-- | docs/podman-import.1.md | 17 |
2 files changed, 22 insertions, 33 deletions
diff --git a/docs/podman-commit.1.md b/docs/podman-commit.1.md index 2eee4fe3d..31eb8800a 100644 --- a/docs/podman-commit.1.md +++ b/docs/podman-commit.1.md @@ -12,6 +12,7 @@ podman commit - Create new image based on the changed container [**--change**|**-c**] [**--message**|**-m**] [**--help**|**-h**] +[**--verbose**] ## DESCRIPTION **podman commit** creates an image based on a changed container. The author of the @@ -19,7 +20,8 @@ image can be set using the **--author** flag. Various image instructions can be configured with the **--change** flag and a commit message can be set using the **--message** flag. The container and its processes are paused while the image is committed. This minimizes the likelihood of data corruption when creating the new -image. If this is not desired, the **--pause** flag can be set to false. +image. If this is not desired, the **--pause** flag can be set to false. When the commit +is complete, podman will print out the ID of the new image. **podman [GLOBAL OPTIONS]** @@ -43,6 +45,9 @@ Set commit message for committed image **--pause, -p** Pause the container when creating an image +**--quiet, -q** +Suppress output + ## EXAMPLES ``` @@ -54,39 +59,22 @@ Copying config sha256:c16a6d30f3782288ec4e7521c754acc29d37155629cb39149756f486da 448 B / 448 B [============================================================] 0s Writing manifest to image destination Storing signatures +e3ce4d93051ceea088d1c242624d659be32cf1667ef62f1d16d6b60193e2c7a8 ``` ``` -# podman commit --message "committing container to image" reverent_golick image-commited -Getting image source signatures -Copying blob sha256:b41deda5a2feb1f03a5c1bb38c598cbc12c9ccd675f438edc6acd815f7585b86 - 25.80 MB / 25.80 MB [======================================================] 0s -Copying config sha256:af376cdda5c0ac1d9592bf56567253d203f8de6a8edf356c683a645d75221540 - 376 B / 376 B [============================================================] 0s -Writing manifest to image destination -Storing signatures +# podman commit -q --message "committing container to image" reverent_golick image-commited +e3ce4d93051ceea088d1c242624d659be32cf1667ef62f1d16d6b60193e2c7a8 ``` ``` -# podman commit --author "firstName lastName" reverent_golick -Getting image source signatures -Copying blob sha256:b41deda5a2feb1f03a5c1bb38c598cbc12c9ccd675f438edc6acd815f7585b86 - 25.80 MB / 25.80 MB [======================================================] 0s -Copying config sha256:d61387b4d5edf65edee5353e2340783703074ffeaaac529cde97a8357eea7645 - 378 B / 378 B [============================================================] 0s -Writing manifest to image destination -Storing signatures +# podman commit -q --author "firstName lastName" reverent_golick +e3ce4d93051ceea088d1c242624d659be32cf1667ef62f1d16d6b60193e2c7a8 ``` ``` -# podman commit --pause=false reverent_golick image-commited -Getting image source signatures -Copying blob sha256:b41deda5a2feb1f03a5c1bb38c598cbc12c9ccd675f438edc6acd815f7585b86 - 25.80 MB / 25.80 MB [======================================================] 0s -Copying config sha256:5813fe8a3b18696089fd09957a12e88bda43dc1745b5240879ffffe93240d29a - 419 B / 419 B [============================================================] 0s -Writing manifest to image destination -Storing signatures +# podman commit -q --pause=false reverent_golick image-commited +e3ce4d93051ceea088d1c242624d659be32cf1667ef62f1d16d6b60193e2c7a8 ``` ## SEE ALSO diff --git a/docs/podman-import.1.md b/docs/podman-import.1.md index a789bdbfc..8ace15f83 100644 --- a/docs/podman-import.1.md +++ b/docs/podman-import.1.md @@ -11,6 +11,7 @@ podman import - Import a tarball and save it as a filesystem image [**--change**|**-c**] [**--message**|**-m**] [**--help**|**-h**] +[**-verbose**] ## DESCRIPTION **podman import** imports a tarball (.tar, .tar.gz, .tgz, .bzip, .tar.xz, .txz) @@ -34,6 +35,9 @@ Can be set multiple times **--message, -m** Set commit message for imported image +**--quiet, -q** +Shows progress on the import + ## EXAMPLES ``` @@ -45,17 +49,12 @@ Copying config sha256:c16a6d30f3782288ec4e7521c754acc29d37155629cb39149756f486da 448 B / 448 B [============================================================] 0s Writing manifest to image destination Storing signatures +db65d991f3bbf7f31ed1064db9a6ced7652e3f8166c4736aa9133dadd3c7acb3 ``` ``` -# cat ctr.tar | podman import --message "importing the ctr.tar tarball" - image-imported -Getting image source signatures -Copying blob sha256:b41deda5a2feb1f03a5c1bb38c598cbc12c9ccd675f438edc6acd815f7585b86 - 25.80 MB / 25.80 MB [======================================================] 0s -Copying config sha256:af376cdda5c0ac1d9592bf56567253d203f8de6a8edf356c683a645d75221540 - 376 B / 376 B [============================================================] 0s -Writing manifest to image destination -Storing signatures +# cat ctr.tar | podman -q import --message "importing the ctr.tar tarball" - image-imported +db65d991f3bbf7f31ed1064db9a6ced7652e3f8166c4736aa9133dadd3c7acb3 ``` ``` @@ -67,6 +66,7 @@ Copying config sha256:d61387b4d5edf65edee5353e2340783703074ffeaaac529cde97a8357e 378 B / 378 B [============================================================] 0s Writing manifest to image destination Storing signatures +db65d991f3bbf7f31ed1064db9a6ced7652e3f8166c4736aa9133dadd3c7acb3 ``` ``` @@ -79,6 +79,7 @@ Copying config sha256:5813fe8a3b18696089fd09957a12e88bda43dc1745b5240879ffffe932 419 B / 419 B [============================================================] 0s Writing manifest to image destination Storing signatures +db65d991f3bbf7f31ed1064db9a6ced7652e3f8166c4736aa9133dadd3c7acb3 ``` ## SEE ALSO |