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 d28a8673b5 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>
(cherry picked from commit 0682468431)
Signed-off-by: Tibor Vass <tibor@docker.com>
2016-07-08 15:33:28 -07:00
..
aaparser
archive Fix overlay2 ignoring whiteout files 2016-06-30 16:47:46 -07:00
authorization plugins: experimental support for new plugin management 2016-06-14 14:20:27 -07:00
broadcaster
chrootarchive pkg: chrootarchive: chroot_linux: fix mount leak 2016-06-11 00:07:41 +02:00
devicemapper Fix logrus formatting 2016-06-11 13:16:55 -07:00
directory
discovery
filenotify
fileutils
gitutils
graphdb
homedir
httputils
idtools
integration
ioutils Set permission on atomic file write 2016-07-01 00:39:50 -07:00
jsonlog
jsonmessage
listeners
locker
longpath
loopback Fix logrus formatting 2016-06-11 13:16:55 -07:00
mflag
mount
namesgenerator
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-30 16:47:48 -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 logrus.Warn[f] 2016-06-11 19:42:38 +02:00
system
tailfile
tarsum
term
testutil Use newer default values for mounts CLI 2016-07-08 15:32:30 -07: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!