1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg
Dan Walsh 2224e0d65a In certain cases, setting the process label will not happen.
When the code attempts to set the ProcessLabel, it checks if SELinux Is
enabled.  We have seen a case with some of our patches where the code
is fooled by the container to think that SELinux is not enabled.  Calling
label.Init before setting up the rest of the container, tells the library that
SELinux is enabled and everything works fine.

Docker-DCO-1.1-Signed-off-by: Dan Walsh <dwalsh@redhat.com> (github: rhatdan)
2014-04-01 13:30:10 -04:00
..
cgroups cgroups: Add systemd implementation of cgroups 2014-03-27 22:44:31 +01:00
collections
graphdb
iptables
label In certain cases, setting the process label will not happen. 2014-04-01 13:30:10 -04:00
libcontainer In certain cases, setting the process label will not happen. 2014-04-01 13:30:10 -04:00
listenbuffer adding configuration for timeout and disable it by default 2014-03-17 15:12:02 -07:00
mflag
mount
namesgenerator
netlink
proxy
selinux Remove hard coding of SELinux labels on systems without proper selinux policy. 2014-04-01 13:29:54 -04:00
signal
sysinfo
system
systemd Add systemd.SdBooted() 2014-03-27 22:44:31 +01:00
term
user
version
README.md

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!