aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-08-24 05:47:37 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-08-24 12:16:19 +0000
commite7fbf329c206397b77f39b60e1bed0c8b9de45c6 (patch)
tree753e01de94b2c3d3b99e2ced9d5d9c8c2313a6ac /docs
parent16465007d0ea1226b63efccc98f1adc8dc279fd3 (diff)
downloadpodman-e7fbf329c206397b77f39b60e1bed0c8b9de45c6.tar.gz
podman-e7fbf329c206397b77f39b60e1bed0c8b9de45c6.tar.bz2
podman-e7fbf329c206397b77f39b60e1bed0c8b9de45c6.zip
Reveal information about container capabilities
I am often asked about the list of capabilities availabel to a container. We should be listing this data in the inspect command for effective capabilities and the bounding set. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #1335 Approved by: TomSweeneyRedHat
Diffstat (limited to 'docs')
-rw-r--r--docs/podman-inspect.1.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/podman-inspect.1.md b/docs/podman-inspect.1.md
index 47a189e39..ef68e929c 100644
--- a/docs/podman-inspect.1.md
+++ b/docs/podman-inspect.1.md
@@ -96,6 +96,11 @@ overlay
size: 4405240
```
+```
+podman inspect --latest --format {{.EffectiveCaps}}
+[CAP_CHOWN CAP_DAC_OVERRIDE CAP_FSETID CAP_FOWNER CAP_MKNOD CAP_NET_RAW CAP_SETGID CAP_SETUID CAP_SETFCAP CAP_SETPCAP CAP_NET_BIND_SERVICE CAP_SYS_CHROOT CAP_KILL CAP_AUDIT_WRITE]
+```
+
## SEE ALSO
podman(1)