podman/libpod
Daniel J Walsh 52df1fa7e0
Fix volume handling in podman
iFix builtin volumes to work with podman volume

Currently builtin volumes are not recored in podman volumes when
they are created automatically. This patch fixes this.

Remove container volumes when requested

Currently the --volume option on podman remove does nothing.
This will implement the changes needed to remove the volumes
if the user requests it.

When removing a volume make sure that no container uses the volume.

Signed-off-by: Daniel J Walsh dwalsh@redhat.com
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
2019-02-14 13:21:52 -05:00
..
adapter Fix volume handling in podman 2019-02-14 13:21:52 -05:00
common Remove some unused data structures and code 2018-12-06 23:31:54 +01:00
driver switch projectatomic to containers 2018-08-16 17:12:36 +00:00
image Parse fq name correctly for images 2019-02-13 11:05:20 -06:00
layers
lock Add darwin support for remote-client 2019-01-11 11:30:28 -06:00
testdata libpod/container_internal: Deprecate implicit hook directories 2018-12-03 12:54:30 -08:00
boltdb_state.go podman-remote inspect 2019-01-18 15:43:11 -06:00
boltdb_state_internal.go Move all libpod/ JSON references over to jsoniter 2019-01-10 15:48:09 -05:00
boltdb_state_linux.go podman-remote inspect 2019-01-18 15:43:11 -06:00
boltdb_state_unsupported.go podman-remote inspect 2019-01-18 15:43:11 -06:00
common_test.go podman-remote inspect 2019-01-18 15:43:11 -06:00
container.go Fix volume handling in podman 2019-02-14 13:21:52 -05:00
container_api.go Add darwin support for remote-client 2019-01-11 11:30:28 -06:00
container_attach_linux.go Fix manual detach from containers to not wait for exit 2019-02-12 10:14:57 -05:00
container_attach_unsupported.go Add darwin support for remote-client 2019-01-11 11:30:28 -06:00
container_commit.go Use sprintf to generate port numbers while committing 2019-01-02 10:26:44 -05:00
container_graph.go Remove a loop in container graph 2018-03-29 02:18:45 +00:00
container_graph_test.go Update unit tests to use in-memory lock manager 2019-01-04 09:51:09 -05:00
container_inspect.go apparmor: apply default profile at container initialization 2019-01-09 22:18:11 +01:00
container_internal.go Fix volume handling in podman 2019-02-14 13:21:52 -05:00
container_internal_linux.go Fix volume handling in podman 2019-02-14 13:21:52 -05:00
container_internal_test.go podman-remote inspect 2019-01-18 15:43:11 -06:00
container_internal_unsupported.go Fix build on non-Linux 2018-12-06 23:31:54 +01:00
container_linux.go Do not fetch pod and ctr State on retrieval in Bolt 2018-07-31 14:19:50 +00:00
container_top_linux.go vendor latest containers/psgo 2018-07-26 17:01:40 +00:00
container_top_unsupported.go podman-top: use containers/psgo 2018-07-19 20:47:52 +00:00
container_unsupported.go Do not fetch pod and ctr State on retrieval in Bolt 2018-07-31 14:19:50 +00:00
diff.go Don't output inodes created to run a container 2018-09-21 09:45:14 +00:00
errors.go Fix manual detach from containers to not wait for exit 2019-02-12 10:14:57 -05:00
in_memory_state.go Add "podman volume" command 2018-12-06 10:17:16 +00:00
info.go libpod: allow multiple oci runtimes 2019-01-14 10:03:40 +01:00
kube.go show container ports of network namespace 2019-02-13 13:51:23 -06:00
mounts_linux.go set root propagation based on volume properties 2018-11-26 13:55:02 +01:00
networking_linux.go rootless: support port redirection from the host 2019-01-19 20:45:07 +01:00
networking_unsupported.go switch projectatomic to containers 2018-08-16 17:12:36 +00:00
oci.go oci: do not set XDG_RUNTIME_DIR twice 2019-02-11 12:38:09 +01:00
oci_linux.go Use also a struct to pass options to Restore() 2018-11-28 08:00:37 +01:00
oci_unsupported.go Use also a struct to pass options to Restore() 2018-11-28 08:00:37 +01:00
options.go Fix volume handling in podman 2019-02-14 13:21:52 -05:00
pod.go Convert pods to SHM locks 2019-01-04 09:51:09 -05:00
pod_api.go add timeout to pod stop 2018-12-07 10:27:41 -06:00
pod_internal.go Remove runtime lockDir and add in-memory lock manager 2019-01-04 09:51:09 -05:00
pod_top_linux.go Add podman pod top 2018-08-23 15:01:17 +00:00
pod_top_unsupported.go Add podman pod top 2018-08-23 15:01:17 +00:00
runtime.go rootless: copy some settings from the global configuration 2019-02-05 11:37:33 +01:00
runtime_ctr.go Fix volume handling in podman 2019-02-14 13:21:52 -05:00
runtime_img.go Fix volume handling in podman 2019-02-14 13:21:52 -05:00
runtime_img_test.go switch projectatomic to containers 2018-08-16 17:12:36 +00:00
runtime_pod.go Fixing network ns segfault 2018-08-23 18:16:28 +00:00
runtime_pod_infra_linux.go Changes to container runlabel for toolbox project 2019-01-30 08:44:58 -06:00
runtime_pod_linux.go Remove runtime lockDir and add in-memory lock manager 2019-01-04 09:51:09 -05:00
runtime_pod_unsupported.go Added option to share kernel namespaces in libpod and podman 2018-08-23 18:16:28 +00:00
runtime_volume.go podman-remote volume rm 2019-02-11 20:14:50 -06:00
runtime_volume_linux.go Remove runtime lockDir and add in-memory lock manager 2019-01-04 09:51:09 -05:00
runtime_volume_unsupported.go Add darwin support for remote-client 2019-01-11 11:30:28 -06:00
state.go Add "podman volume" command 2018-12-06 10:17:16 +00:00
state_test.go Rename libpod.Config back to ContainerConfig 2019-01-07 14:37:51 -05:00
stats.go Add ability for ubuntu to be tested 2018-10-03 12:45:37 -05:00
stats_config.go changes to allow for darwin compilation 2018-06-29 20:44:09 +00:00
stats_unsupported.go changes to allow for darwin compilation 2018-06-29 20:44:09 +00:00
storage.go Move all libpod/ JSON references over to jsoniter 2019-01-10 15:48:09 -05:00
util.go Fix build on non-Linux 2018-12-06 23:31:54 +01:00
util_linux.go Fix build on non-Linux 2018-12-06 23:31:54 +01:00
util_test.go
util_unsupported.go Fix build on non-Linux OSes 2018-08-15 18:07:04 +00:00
version.go enable podman-remote version 2019-01-21 15:23:30 -06:00
volume.go Remove runtime lockDir and add in-memory lock manager 2019-01-04 09:51:09 -05:00
volume_internal.go Fix volume handling in podman 2019-02-14 13:21:52 -05:00