an [abandoned] attempt to slice out the docker/docker/pkg package
Find a file
Phil Estes c1642c937d Fix relative path execution of docker daemon in reexec.Self()
After the new libcontainer API, the reexec.Self() output of the daemon
binary is used as the libcontainer factory InitPath.  If it is relative,
it can't be found at container start time.  This patch solves the
problem by making sure that we return a rooted/absolute path if a
relative path is used.

Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)
2015-03-16 16:52:00 -04:00
archive Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
broadcastwriter Mass gofmt 2014-10-24 15:11:48 -07:00
chrootarchive Merge pull request #10439 from estesp/10426-fix-arg-list-too-long 2015-02-20 23:48:55 -08:00
common moving random.go from utils 2015-02-26 18:31:18 +00:00
devicemapper Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
directory Makes directory pkg compilable on Windows. 2015-03-12 15:54:22 +01:00
fileutils Use logrus everywhere for logging 2014-10-24 15:03:06 -07:00
graphdb Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
homedir If $HOME is not set, return homedir from /etc/passwd 2015-03-10 10:00:22 -04:00
httputils Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
ioutils pkg/ioutils: add ReaderErrWrapper to readers 2014-09-03 11:36:21 +03:00
iptables Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
jsonlog Rename BINDDIR to BIND_DIR 2015-02-13 15:50:42 -07:00
listenbuffer adding configuration for timeout and disable it by default 2014-03-17 15:12:02 -07:00
mflag Make use of %USERPROFILE% in cli help message 2015-03-11 02:14:49 -07:00
mount Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
namesgenerator Merge pull request #10029 from soulshake/add-cecilia-payne-gaposchkin 2015-01-12 17:31:19 -08:00
networkfs Add warning for --dns flag set to localhost addresses. 2015-03-10 14:43:17 -04:00
parsers Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
pools pkg/pool: add pools for bufio readers & writers 2014-09-03 11:36:39 +03:00
promise Move Go() promise-like func from utils to pkg/promise 2014-09-29 23:16:27 -07:00
proxy Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
pubsub Remove publisher if no one is listening 2015-01-20 20:21:47 -08:00
reexec Fix relative path execution of docker daemon in reexec.Self() 2015-03-16 16:52:00 -04:00
signal Removed race condition 2014-12-06 22:52:19 +08:00
stdcopy Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
symlink Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
sysinfo fix warning messages 2015-03-11 08:47:45 +08:00
system Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
systemd Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
tailfile Implement tail for docker logs 2014-07-01 23:44:12 +04:00
tarsum Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
term Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
testutils Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
timeoutconn Rename package timeout to timeoutconn. 2015-02-25 20:52:37 +01:00
timeutils Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
truncindex Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
ulimit Allow setting ulimits for containers 2015-02-25 19:37:43 -05:00
units Remove subdirectories MAINTAINERS files 2015-03-06 18:21:51 -08:00
urlutil Move git and url checks into pkg 2014-11-24 18:10:37 -05:00
version pkg/version: lint and add comments 2014-10-06 18:41:53 +03:00
README.md Add README to pkg 2013-12-23 23:12:19 +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!