Files
docker-cli/components/engine/pkg
Brian Goff d7e08dc088 Use pivot_root instead of chroot for chrootarchive
This fixes one issue with Docker running under a grsec kernel, which
denies chmod and mknod under chroot.

Note, if pivot_root fails it will still fallback to chroot.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Upstream-commit: 85988b33d299697f410a3a92db5d537fdbee955b
Component: engine
2016-05-04 19:55:34 -04:00
..
2015-12-13 18:04:12 +02:00
2016-03-21 22:03:24 -07:00
2016-04-09 21:18:15 +08:00
2016-04-09 21:18:15 +08:00
2015-07-27 21:26:21 +02:00
2015-12-13 18:04:12 +02:00
2016-04-09 21:18:15 +08:00
2016-04-09 21:18:15 +08:00
2016-03-25 22:14:27 -04:00
2016-04-09 21:18:15 +08:00
2016-04-09 21:18:15 +08:00
2016-03-08 07:55:01 -08:00
2016-04-09 21:18:15 +08:00
2016-04-25 15:57:59 -07:00
2015-11-02 08:02:25 -08:00
2016-04-28 11:04:50 +08: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!