spiegel_podman/vendor/github.com/docker/docker/pkg
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
..
archive vendor in latest docker package 2018-06-28 20:28:38 +00:00
fileutils Use buildah commit and bud in podman 2018-04-27 20:51:07 +00:00
homedir Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
idtools Vendor in lots of kubernetes stuff to shrink image size 2018-03-27 18:09:12 +00:00
ioutils Vendor in lots of kubernetes stuff to shrink image size 2018-03-27 18:09:12 +00:00
jsonmessage Use buildah commit and bud in podman 2018-04-27 20:51:07 +00:00
longpath Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
mount Use buildah commit and bud in podman 2018-04-27 20:51:07 +00:00
namesgenerator Vendor in lots of kubernetes stuff to shrink image size 2018-03-27 18:09:12 +00:00
parsers Update vendoring 2017-11-22 20:53:15 +00:00
pools Use buildah commit and bud in podman 2018-04-27 20:51:07 +00:00
signal vendor in latest docker package 2018-06-28 20:28:38 +00:00
stdcopy Use buildah commit and bud in podman 2018-04-27 20:51:07 +00:00
stringutils Vendor in lots of kubernetes stuff to shrink image size 2018-03-27 18:09:12 +00:00
sysinfo Vendor in lots of kubernetes stuff to shrink image size 2018-03-27 18:09:12 +00:00
system vendor in latest docker package 2018-06-28 20:28:38 +00:00
term Use buildah commit and bud in podman 2018-04-27 20:51:07 +00:00
README.md Vendor in lots of kubernetes stuff to shrink image size 2018-03-27 18:09:12 +00:00

pkg/ is a collection of utility packages used by the Docker project without being specific to its internals.

Utility packages are kept separate from the docker core codebase to keep it as small and concise as possible. If some utilities grow larger and their APIs stabilize, they may be moved to their own repository under the Docker organization, to facilitate re-use by other projects. However that is not the priority.

The directory pkg is named after the same directory in the camlistore project. Since Brad is a core Go maintainer, we thought it made sense to copy his methods for organizing Go code :) Thanks Brad!

Because utility packages are small and neatly separated from the rest of the codebase, they are a good place to start for aspiring maintainers and contributors. Get in touch if you want to help maintain them!