moby--moby/pkg
Derek McGowan 50841b16fe
Ensure opaque directory permissions respected
When converting an opaque directory always keep the original
directory tar entry to ensure directory is created with correct
permissions on restore.

Closes #27298

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2016-12-02 16:16:59 -08:00
..
aaparser apparmor: fix version checks to work properly 2016-02-15 20:36:07 +11:00
archive Ensure opaque directory permissions respected 2016-12-02 16:16:59 -08:00
authorization Fix AuthZ plugins headers change issue 2016-09-26 19:35:37 -07:00
broadcaster
chrootarchive chroot: remount everything as private in new mntns 2016-10-21 14:59:58 -07:00
devicemapper devmapper: prevent libdevmapper from deleting device symlinks in RemoveDeviceDeferred 2016-09-26 19:35:43 -07:00
directory Fix filepath.Walk misusage in pkg/directory 2016-05-30 07:40:46 +00:00
discovery better command `docker network create -h` output 2016-07-25 23:15:24 -07:00
filenotify add file poller panic fix from 1.10.2 2016-02-24 10:17:29 -05:00
fileutils fix typos 2016-07-25 23:18:15 -07:00
gitutils Fix gitconfig dependency in pkg/gitutils.TestCheckoutGit 2016-06-02 17:44:09 +09:00
graphdb Windows CI: Turn off failing unit tests pkg\graphdb 2016-03-02 19:27:41 -08:00
homedir Revert "resolve the config file from the sudo user" 2016-02-29 13:51:43 +01:00
httputils fix typos 2016-06-02 17:17:22 +08:00
idtools Lazy init useradd and remove init() 2016-04-06 17:53:45 -04:00
integration return err when stack name does not exist 2016-07-12 15:43:39 -07:00
ioutils Set permission on atomic file write 2016-07-01 00:39:50 -07:00
jsonlog Add support for reading logs extra attrs 2016-05-06 20:42:20 -04:00
jsonmessage fix typos 2016-06-02 17:17:22 +08:00
listeners Get the Docker Engine to build clean on Solaris 2016-05-23 16:37:12 -07:00
locker Fix typos found across repository 2015-12-13 18:04:12 +02:00
longpath
loopback Fix logrus formatting 2016-06-11 13:16:55 -07:00
mflag fix typos 2016-06-02 17:17:22 +08:00
mount Inconsistent --tmpfs behavior 2016-05-26 19:28:18 -07:00
namesgenerator update peaceful zen 2016-06-10 16:39:05 +02:00
parsers pkg/parser/kernel: remove unused var block 2016-06-02 10:50:36 -07:00
pidfile Windows: don't overwrite PID file if process exists 2016-04-18 16:41:37 -07:00
platform make package docker/pkg/platform support darwin 2016-05-26 11:10:29 +08:00
plugins Fix pkg/plugins TLSConfig panic 2016-08-11 17:56:42 -07:00
pools pkg/pools: avoid copy of sync.Pool 2016-06-30 16:47:48 -07:00
progress fix typos 2016-06-02 17:17:22 +08:00
promise
pubsub Revert "use pubsub instead of filenotify to follow json logs" 2016-02-23 21:43:52 -05:00
random Fix typos found across repository 2015-12-13 18:04:12 +02:00
reexec Get the Docker Engine to build clean on Solaris 2016-05-23 16:37:12 -07:00
registrar fix typos in pkg 2016-04-09 21:18:15 +08:00
signal Fix logrus formatting 2016-06-11 13:16:55 -07:00
stdcopy Optimizations for StdWriter 2016-03-25 22:14:27 -04:00
streamformatter Fix pkg/streamformatter.TestJSONFormatProgress 2016-05-31 09:09:06 +00:00
stringid fix typos in pkg 2016-04-09 21:18:15 +08:00
stringutils fix typos in pkg 2016-04-09 21:18:15 +08:00
symlink fix variables that werent being called 2016-03-17 13:19:55 -07:00
sysinfo Update containerd and runc 2016-10-06 09:28:08 -07:00
system Get the Docker Engine to build clean on Solaris 2016-05-23 16:37:12 -07:00
tailfile
tarsum Fix build cache false positives when build context tar contains unnormalized paths 2016-04-14 17:57:45 -07:00
term Force input stream ANSI emulation for ConEmu. 2016-09-26 19:35:18 -07:00
testutil Use newer default values for mounts CLI 2016-07-08 15:32:30 -07:00
tlsconfig
truncindex pkg: truncindex: provide more info in error 2016-03-17 15:53:12 +01:00
urlutil Support unixgram syslog address 2016-04-28 11:04:50 +08:00
useragent Fix typos found across repository 2015-12-13 18:04:12 +02:00
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!