From 3d395767d8c3e467e784e3836c7175f6d11931a7 Mon Sep 17 00:00:00 2001 From: umohnani8 Date: Fri, 16 Feb 2018 10:38:12 -0500 Subject: Implement --image-volumes for create and run --image-volumes tells podman what to do with the image volumes in the image config There are 3 options: bind, tmpfs, and ignore bind puts the volume contents in /var/lib/containers/storage/container-id/volumes/vol-dir and bind mounts it into the container at /vol-dir tmpfs mounts /vol-dir as a tmps into the container ignore doesn't mount the image volumes onto the container Signed-off-by: umohnani8 Closes: #377 Approved by: rhatdan --- completions/bash/podman | 2 ++ 1 file changed, 2 insertions(+) (limited to 'completions/bash') diff --git a/completions/bash/podman b/completions/bash/podman index 905792a9b..6d9098fc9 100644 --- a/completions/bash/podman +++ b/completions/bash/podman @@ -1042,6 +1042,7 @@ _podman_container_run() { --attach -a --blkio-weight --blkio-weight-device + --builtin-volume --cap-add --cap-drop --cgroup-parent @@ -1068,6 +1069,7 @@ _podman_container_run() { --expose --group-add --hostname -h + --image-volume --init-path --ip --ip6 -- cgit v1.2.3-54-g00ecf