moby--moby/pkg
David Calavera 677a6b3506 Allow to set daemon and server configurations in a file.
Read configuration after flags making this the priority:

1- Apply configuration from file.
2- Apply configuration from flags.

Reload configuration when a signal is received, USR2 in Linux:

- Reload router if the debug configuration changes.
- Reload daemon labels.
- Reload cluster discovery.

Signed-off-by: David Calavera <david.calavera@gmail.com>
2016-01-14 16:44:37 -05:00
..
aaparser
archive
authorization Remove usage of pkg sockets and tlsconfig. 2015-12-29 19:27:12 -05:00
broadcaster
chrootarchive
devicemapper
directory
discovery Allow to set daemon and server configurations in a file. 2016-01-14 16:44:37 -05:00
filenotify
fileutils
gitutils
graphdb
homedir
httputils
idtools
integration
ioutils
jsonlog
jsonmessage Send push information to trust code out-of-band 2016-01-08 10:57:50 -08:00
locker
longpath
loopback
mflag Merge pull request #18387 from wenchma/18385-improve_help_msg 2016-01-03 12:19:53 +01:00
mount
namesgenerator Merge pull request #19222 from justincormack/shirley 2016-01-11 00:09:45 +01:00
parsers
pidfile
platform
plugins Don't error out on plugin err with json 2016-01-06 11:34:14 -05:00
pools
progress Send push information to trust code out-of-band 2016-01-08 10:57:50 -08:00
promise
proxy
pubsub
random
reexec
registrar Build names and links at runtime 2016-01-07 14:10:42 -05:00
signal
stdcopy
streamformatter Send push information to trust code out-of-band 2016-01-08 10:57:50 -08:00
stringid
stringutils
symlink Update LICENSE date 2015-12-31 13:07:35 +00:00
sysinfo check seccomp is configured in the kernel 2016-01-12 09:45:21 -08:00
system Fix downstream client API build errors on Solaris 2015-12-30 18:25:42 -05:00
tailfile
tarsum
term Implement configurable detach key 2016-01-03 23:03:39 +01:00
tlsconfig
truncindex
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!