summaryrefslogtreecommitdiff
path: root/libpod/options.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-06-13 18:28:33 +0200
committerGitHub <noreply@github.com>2019-06-13 18:28:33 +0200
commit2784cf3ca3c635b1383823dd9bc47d26274e60e3 (patch)
treeba13d7ea9db0267a9a44f776c70a8a140daba5ee /libpod/options.go
parent031280cfe4ea1f96967539b22bb24515395e6f29 (diff)
parentbcd95f9ddc9b15d24657b6549b10e55084501d41 (diff)
downloadpodman-2784cf3ca3c635b1383823dd9bc47d26274e60e3.tar.gz
podman-2784cf3ca3c635b1383823dd9bc47d26274e60e3.tar.bz2
podman-2784cf3ca3c635b1383823dd9bc47d26274e60e3.zip
Merge pull request #3312 from mheon/podman_inspect_fixes_cont
Further fixes for podman inspect
Diffstat (limited to 'libpod/options.go')
-rw-r--r--libpod/options.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/options.go b/libpod/options.go
index 20aa51981..cdac09654 100644
--- a/libpod/options.go
+++ b/libpod/options.go
@@ -1127,6 +1127,8 @@ func WithGroups(groups []string) CtrCreateOption {
// These are not added to the container's spec, but will instead be used during
// commit to populate the volumes of the new image, and to trigger some OCI
// hooks that are only added if volume mounts are present.
+// Furthermore, they are used in the output of inspect, to filter volumes -
+// only volumes included in this list will be included in the output.
// Unless explicitly set, committed images will have no volumes.
// The given volumes slice must not be nil.
func WithUserVolumes(volumes []string) CtrCreateOption {