moby--moby/pkg
Erik Dubbelboer 46b1194d99 Removed race condition
If two interrupts were fired really quickly interruptCount could have been incremented twice before the LoadUint32 making cleanup not being called at all.

Signed-off-by: Erik Dubbelboer <erik@dubbelboer.com>
2014-12-06 22:52:19 +08:00
..
archive Fix invalid argument error on push 2014-12-03 16:12:24 -05:00
broadcastwriter
chrootarchive pkg/chrootarchive: provide TMPDIR for ApplyLayer 2014-11-25 01:03:41 +02:00
devicemapper Merge pull request #9006 from snitm/thin-pool-improvements 2014-11-26 14:44:09 -05:00
fileutils
graphdb graphdb: initialize the database semi-idempotently on every connection. 2014-12-02 03:02:25 -08:00
httputils
ioutils
iptables Typed errors for iptables chain raw command output. YAYYYYYY. 2014-11-20 18:07:11 -08:00
jsonlog
listenbuffer
mflag flag: fix the comments 2014-11-30 01:58:16 +08:00
mount Fix output format where no variable specified in mount pkg 2014-12-03 19:02:51 -08:00
namesgenerator pkg/namesgenerator: add Yeong-Sil Jang 2014-11-08 16:36:41 +02:00
networkfs Test for etchosts consistency 2014-11-06 11:36:09 -08:00
parsers Cleanup ParseHost 2014-11-25 18:55:40 -05:00
pools
promise
proxy pkg/proxy: Bump the maximum size of a UDP packet. 2014-10-31 18:56:07 +00:00
reexec add pkg/chrootarchive and use it on the daemon 2014-11-25 01:03:40 +02:00
signal Removed race condition 2014-12-06 22:52:19 +08:00
stdcopy
symlink archive: do not call FollowSymlinkInScope in createTarFile 2014-11-25 01:03:41 +02:00
sysinfo
system pkg/system: fix cleanup in tests 2014-11-20 19:33:15 +02:00
systemd
tailfile
tarsum Correctly close generated benchmark archives 2014-12-03 22:26:06 -08:00
term Use termios via CGO only on Linux 2014-11-25 20:49:01 +09:00
testutils
timeutils
truncindex
units
urlutil Move git and url checks into pkg 2014-11-24 18:10:37 -05:00
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!