diff options
author | umohnani8 <umohnani@redhat.com> | 2018-02-05 10:42:14 -0500 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-02-06 19:31:55 +0000 |
commit | 367213a3943961126c6f7c1dce45c7fafea9e6b2 (patch) | |
tree | 758846f65e55f4f005b03fbfd5d81933db6cf437 /docs/podman-inspect.1.md | |
parent | 69d75a82515b6b4270cd6b72617cff1531f9ceca (diff) | |
download | podman-367213a3943961126c6f7c1dce45c7fafea9e6b2.tar.gz podman-367213a3943961126c6f7c1dce45c7fafea9e6b2.tar.bz2 podman-367213a3943961126c6f7c1dce45c7fafea9e6b2.zip |
Match podman inspect output to docker inspect
Made a change to make sure that the output paths of podman inspect
matches that of docker inspect. For example to get the stop signal
you should be able to do podman inspect ctr --format {{.Config.StopSignal}}
and the same thing in docker will give the same results.
Signed-off-by: umohnani8 <umohnani@redhat.com>
Closes: #292
Approved by: rhatdan
Diffstat (limited to 'docs/podman-inspect.1.md')
-rw-r--r-- | docs/podman-inspect.1.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/podman-inspect.1.md b/docs/podman-inspect.1.md index 5b8a344d7..430cf9685 100644 --- a/docs/podman-inspect.1.md +++ b/docs/podman-inspect.1.md @@ -79,6 +79,16 @@ Display the total file size if the type is a container } ``` +``` +# podman inspect a04 --format "{{.ImageName}}" +fedora +``` + +``` +# sudo podman inspect a04 --format "{{.GraphDriver.Name}}" +overlay +``` + ## SEE ALSO podman(1) |