moby--moby/pkg
Tianon Gravi ee93f6185b Move UserLookup functionality into a separate pkg/user submodule that implements proper parsing of /etc/passwd and /etc/group, and use that to add support for "docker run -u user:group" and for getting supplementary groups (if ":group" is not specified)
Docker-DCO-1.1-Signed-off-by: Andrew Page <admwiggin@gmail.com> (github: tianon)
2014-01-31 20:15:24 -07:00
..
cgroups execdriver: Make GetPidsForContainer() a driver call 2014-01-28 16:21:49 +01:00
collections Remove std sort and use custom sort for performances 2014-01-26 14:01:38 -08:00
graphdb Update/fix build tags, Dockerfile, and release.sh for proper building and releasing of linux/386 and linux/arm cross-compiled client binaries 2014-01-31 03:16:42 -07:00
iptables network: add publicly mapped ports to FORWARD table 2014-01-28 13:11:49 -06:00
mflag fix panic in mflag 2014-01-31 11:39:29 -08:00
mount Merge pull request #3841 from alexlarsson/separate-base-fs 2014-01-31 11:49:14 -08:00
namesgenerator Fix misspelled Hawkings -> Hawking, Archimede -> Archimedes, Euclide -> Euclid 2014-01-09 10:02:55 -05:00
netlink Update/fix build tags, Dockerfile, and release.sh for proper building and releasing of linux/386 and linux/arm cross-compiled client binaries 2014-01-31 03:16:42 -07:00
sysinfo remove ip_forward warning 2014-01-28 13:27:56 -06:00
systemd chore(coreos/go-systemd): copy to github.com/dotcloud/docker/systemd/pkg/activation 2014-01-27 17:18:09 -08:00
term Move utility package 'term' to pkg/term 2013-12-23 23:42:37 +00:00
user Move UserLookup functionality into a separate pkg/user submodule that implements proper parsing of /etc/passwd and /etc/group, and use that to add support for "docker run -u user:group" and for getting supplementary groups (if ":group" is not specified) 2014-01-31 20:15:24 -07:00
README.md Add README to pkg 2013-12-23 23:12:19 +00:00

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!