1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg
Justin Cormack 0682468431 Make the docker proxy a standalone binary not a re-exec
This reduces memory usage with a lot of docker proxy processes.
On Docker for Mac we are currently carrying a patch to replace
the binary as we modify it to forward ports to the Mac rather
than the Linux VM, this allows us to simply replace this binary
in our packaging with one that has a compatible interface. This
patch does not provide an easy way to substitute a binary as
the interface is complex and there are few use cases, but where
needed this can be done.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
2016-07-07 12:53:39 +01:00
..
aaparser
archive Merge pull request #23912 from dmcgowan/fix-overlay2-whiteout-exclusion 2016-06-24 01:06:38 +02:00
authorization plugins: experimental support for new plugin management 2016-06-14 14:20:27 -07:00
broadcaster
chrootarchive
devicemapper Fix logrus formatting 2016-06-11 13:16:55 -07:00
directory
discovery
filenotify
fileutils add fileutils_darwin.go in pkg/fileutils to support darwin platform 2016-07-01 13:02:26 +08:00
gitutils
graphdb
homedir
httputils
idtools
integration
ioutils Set permission on atomic file write 2016-06-29 13:09:13 -07:00
jsonlog
jsonmessage
listeners
locker
longpath
loopback Fix logrus formatting 2016-06-11 13:16:55 -07:00
mflag
mount
namesgenerator Add Andrew Wiles, Florence Nightingale, Thomas Edison to container names. 2016-07-02 02:56:03 +00:00
parsers
pidfile
platform
plugins plugins: experimental support for new plugin management 2016-06-14 14:20:27 -07:00
pools pkg/pools: avoid copy of sync.Pool 2016-06-23 16:09:13 -07:00
progress
promise
pubsub
random
reexec
registrar
signal Fix logrus formatting 2016-06-11 13:16:55 -07:00
stdcopy
streamformatter
stringid
stringutils
symlink
sysinfo Fix s390x build failure by removing golang.org/x/sys 2016-06-30 06:32:32 -07:00
system
tailfile
tarsum
term
testutil Use newer default values for mounts CLI 2016-07-06 22:34:39 -04:00
tlsconfig
truncindex
urlutil
useragent
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!