spiegel_podman/libpod
Daniel J Walsh 92e9d7891e We need to sort mounts so that one mount does not over mount another.
Currently we add mounts from images, volumes and internal.
We can accidently over mount an existing mount.  This patch sorts the mounts
to make sure a parent directory is always mounted before its content.

Had to change the default propagation on image volume mounts from shared
to private to stop mount points from leaking out of the container.

Also switched from using some docker/docker/pkg to container/storage/pkg
to remove some dependencies on Docker.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>

Closes: #1243
Approved by: mheon
2018-08-10 21:18:19 +00:00
..
common Change un/pwd handling to match Buildah's 2018-02-06 09:29:23 -05:00
driver Migrate Create|Commit to ginkgo 2018-02-02 22:44:40 +00:00
image Fix ambiguity in adding localhost to podman save 2018-08-08 21:04:11 +00:00
layers Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
testdata Add hooks support to podman 2018-04-05 14:13:49 +00:00
boltdb_state.go Do not fetch pod and ctr State on retrieval in Bolt 2018-07-31 14:19:50 +00:00
boltdb_state_internal.go Do not fetch pod and ctr State on retrieval in Bolt 2018-07-31 14:19:50 +00:00
boltdb_state_linux.go Do not fetch pod and ctr State on retrieval in Bolt 2018-07-31 14:19:50 +00:00
boltdb_state_unsupported.go Fix build on non-linux platforms 2018-07-31 14:19:50 +00:00
common_test.go Rework state testing to allow State structs to be empty 2018-07-31 14:19:50 +00:00
container.go Fixed a bug setting dependencies on the wrong container 2018-08-09 15:16:22 +00:00
container_api.go We need to sort mounts so that one mount does not over mount another. 2018-08-10 21:18:19 +00:00
container_attach.go Always connect to the stdout and stderr of stream 2018-08-09 14:14:40 +00:00
container_commit.go podman: accept option --rootfs to use exploded images 2018-06-15 14:53:18 +00:00
container_ffjson.go Add FFJSON generation to makefile 2018-08-09 15:54:34 +00:00
container_graph.go Remove a loop in container graph 2018-03-29 02:18:45 +00:00
container_graph_test.go Fix tests 2018-03-29 02:18:45 +00:00
container_inspect.go Add missing runtime.go lines to set namespace 2018-07-24 16:12:31 -04:00
container_internal.go We need to sort mounts so that one mount does not over mount another. 2018-08-10 21:18:19 +00:00
container_internal_linux.go We need to sort mounts so that one mount does not over mount another. 2018-08-10 21:18:19 +00:00
container_internal_test.go Fix TestPostDeleteHooks on macOS 2018-07-19 16:12:49 +00:00
container_internal_unsupported.go Remove now-unneeded cleanupCgroup() for unsupported OS 2018-07-06 15:29:38 +00: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 Stage 4 Image cleanup 2018-03-23 15:35:37 +00:00
errors.go Add namespaces and initial constraints to database 2018-07-24 16:12:31 -04:00
in_memory_state.go We need to sort mounts so that one mount does not over mount another. 2018-08-10 21:18:19 +00:00
info.go We need to sort mounts so that one mount does not over mount another. 2018-08-10 21:18:19 +00:00
networking_linux.go network: add support for rootless network with slirp4netns 2018-07-31 13:39:29 +00:00
networking_unsupported.go network: add support for rootless network with slirp4netns 2018-07-31 13:39:29 +00:00
oci.go oci.go: syslog: fix debug formatting 2018-08-09 12:24:24 +00:00
oci_linux.go Add dpkg support for returning oci/conmon versions 2018-08-07 14:16:26 +00:00
oci_unsupported.go Have info print conmon/oci runtime information 2018-08-07 14:16:26 +00:00
options.go Add --namespace flag to Podman 2018-07-24 16:12:31 -04:00
pod.go Split pod.go into 3 files 2018-08-10 18:14:31 +00:00
pod_api.go Split pod.go into 3 files 2018-08-10 18:14:31 +00:00
pod_ffjson.go Split pod.go into 3 files 2018-08-10 18:14:31 +00:00
pod_internal.go We need to sort mounts so that one mount does not over mount another. 2018-08-10 21:18:19 +00:00
runtime.go Make errors during refresh nonfatal 2018-08-10 17:49:09 +00:00
runtime_ctr.go removeContainer: fix deadlock 2018-08-10 13:26:58 +00:00
runtime_img.go RFC: Remove unused transport name constants from libpod 2018-08-01 18:22:59 +00:00
runtime_img_test.go regression: tls verify should be set on registries.conf if insecure 2018-04-18 14:07:59 +00:00
runtime_pod.go Added full podman pod ps, with tests and man page 2018-07-13 09:17:33 -04:00
runtime_pod_linux.go Fix CGroupFS cgroup manager cgroup creation for pods 2018-08-08 21:03:20 +00:00
runtime_pod_unsupported.go libpod/runtime_pod: Make removePod per-platform 2018-07-06 00:48:39 +00:00
state.go Do not fetch pod and ctr State on retrieval in Bolt 2018-07-31 14:19:50 +00:00
state_test.go Rework state testing to allow State structs to be empty 2018-07-31 14:19:50 +00:00
stats.go Add batch check to container stats lock 2018-08-10 15:00:33 +00: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 Add --force to podman umount to force the unmounting of the rootfs 2018-08-01 17:53:30 +00:00
util.go We need to sort mounts so that one mount does not over mount another. 2018-08-10 21:18:19 +00:00
util_test.go Stage3 Image Library 2018-03-14 20:21:31 +00:00
version.go varlink images 2018-04-26 19:14:44 +00:00