moby--moby/pkg
Alexander Morozov 292a15e40a Use /usr/lib/os-release if /etc/os-release is missing.
As per os-release spec, /usr/lib/os-release file should be tried if
/etc/os-release is missing.

http://www.freedesktop.org/software/systemd/man/os-release.html

Thanks James Hunt <james.o.hunt@intel.com> and
Dimitri John Ledkov <dimitri.j.ledkov@intel.com> for contribution.

Close #17174

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-11-16 16:21:31 -08:00
..
ansiescape
archive Merge pull request #17732 from Microsoft/sjw/archive_access_time_fix 2015-11-10 13:17:03 -08:00
blkiodev Add support for blkio.weight_device 2015-11-11 23:06:36 +08:00
broadcaster
chrootarchive
devicemapper
directory
discovery
filenotify Fallback to file polling for jsonlog reader on err 2015-11-05 10:05:05 -05:00
fileutils Support multi-dir wildcards in .dockerignore 2015-11-13 13:44:07 -08:00
graphdb
homedir
httputils
idtools
integration
ioutils Cap the amount of buffering done by BytesPipe 2015-11-12 10:11:29 -08:00
jsonlog
jsonmessage
listenbuffer
locker Use timeouts instead of relying on runtime.GoSched 2015-11-11 20:59:07 -05:00
longpath
mflag Change 'docker run' exit codes to distinguish docker/contained errors 2015-11-04 15:18:50 -05:00
mount
namesgenerator
nat
parsers Use /usr/lib/os-release if /etc/os-release is missing. 2015-11-16 16:21:31 -08:00
pidfile
plugins
pools
progressreader
promise
proxy
pubsub
random
reexec
signal Define all of the signals defined by kill -l 2015-11-12 09:55:18 -05:00
sockets
stdcopy
streamformatter
stringid
stringutils
symlink
sysinfo Add support for blkio.weight_device 2015-11-11 23:06:36 +08:00
system Merge pull request #17089 from Microsoft/10662-ansi 2015-11-09 08:05:08 -08:00
tailfile
tarsum
term kill TODO 2015-11-12 16:41:25 +08:00
timeoutconn
timeutils
tlsconfig
truncindex Do not rely on string comparison in truncindex 2015-11-04 11:34:05 -08:00
ulimit
units
urlutil
useragent
version
README.md

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!