Brian Goff 91e0141784 Merge pull request #33485 from tpot/33484-fix-file-perm-octal 8 years ago
..
aaparser dd340c52cb apparmor: make pkg/aaparser work on read-only root 8 years ago
archive 41eb61d5c2 Respect tar entries modes when rewriting them on Windows 8 years ago
authorization 38de272bd4 When authz plugin is disabled, remove from authz middleware chain. 8 years ago
broadcaster 572ce80230 Improved push and pull with upload manager and download manager 9 years ago
chrootarchive 087f7307a6 pkg/{chroot,}archive: clean up a few small issues 8 years ago
devicemapper d764d8b166 Ensure that a device mapper task is referenced until task is complete 8 years ago
directory cd53ec5244 Fix filepath.Walk misusage in pkg/directory 9 years ago
discovery 62cc802f61 Update docker daemon to dockerd 8 years ago
filenotify c35ea6b2cd Use octal values for file mode in filenotify poller and sysinfo_linux tests 8 years ago
fileutils 9484c3bd81 Enable a unit test on windows. 8 years ago
fsutils 418e612383 pkg: return directly without ifs where possible 8 years ago
gitutils 493a6c3d41 Allow checking out any ref in gitutils 8 years ago
homedir b86e3bee5a gcplogs: forcibly set HOME on static UNIX binary 8 years ago
httputils 3551893f46 Fix escaped go vet error 8 years ago
idtools 418e612383 pkg: return directly without ifs where possible 8 years ago
ioutils 2445e6b99d move multireader out of /pkg 8 years ago
jsonlog a23c456e5a pkg/*: clean up a few issues 8 years ago
jsonmessage a771c16834 Update the stream formatter to display custom unit numbers. 8 years ago
listeners 169c013911 Don't error with empty group 8 years ago
locker f1a19fa8c0 fix some typos 8 years ago
longpath 6d223febda Windows: Fixing longpath hanlding of UNC paths. 9 years ago
loopback 85357a1167 Make pkg/devicemapper and pkg/loopback depend on cgo in build tags 8 years ago
mount 54dcbab25e Do not remove containers from memory on error 8 years ago
namesgenerator 234b2203e5 Add Johannes Kepler and Mary Jackson to name generator 8 years ago
parsers 925bc27b81 Fix building client on OpenBSD 8 years ago
pidfile 418e612383 pkg: return directly without ifs where possible 8 years ago
platform bdc87676bf Increase the Coverage of pkg/platform 8 years ago
plugingetter 428600108c plugingetter: Avoid all caps for constant declarations 8 years ago
plugins 62871ef2fa Do not reuse a http.Request after a failure in callWithRetry 8 years ago
pools 836f347cb0 pkg/pool: no need for double pointer for sync.Pool 8 years ago
progress a771c16834 Update the stream formatter to display custom unit numbers. 8 years ago
promise b845a62149 Move Go() promise-like func from utils to pkg/promise 10 years ago
pubsub 91fdfdd537 Revert "use pubsub instead of filenotify to follow json logs" 9 years ago
random 927b334ebf Fix typos found across repository 9 years ago
reexec 1e65db4206 First header should be a top level header 8 years ago
registrar a23c456e5a pkg/*: clean up a few issues 8 years ago
signal 0bd720b28d Move stack dump dir to exec root 8 years ago
stdcopy f19b0d72d1 fix docker logs error handling 8 years ago
streamformatter a771c16834 Update the stream formatter to display custom unit numbers. 8 years ago
stringid 9f3046f9a0 Move imageID validation to stringid pkg 8 years ago
stringutils 7c3657065c change minor mistake of spelling 8 years ago
symlink da8cf590eb Update copyright dates 8 years ago
sysinfo 91e0141784 Merge pull request #33485 from tpot/33484-fix-file-perm-octal 8 years ago
system 54dcbab25e Do not remove containers from memory on error 8 years ago
tailfile 63904eb674 Change reading order of tailfile 8 years ago
tarsum f95f58283b Add support for COPY from previous rootfs 8 years ago
templates 5766317e33 Disable HTML escaping for JSON in formatter 8 years ago
term df6dfcf198 [pkg/term] switch more syscalls to /x/sys/ 8 years ago
testutil b0ba39d431 Use `cli` for trusted relate command 8 years ago
tlsconfig 66a5e34cc4 Use system ca pool from tlsconfig 8 years ago
truncindex 57dada5338 Fix non thread-safe Iteration around go-patricia 8 years ago
urlutil 90a44b875c pkg/urlutil: don't compare to bool 8 years ago
useragent 927b334ebf Fix typos found across repository 9 years ago
README.md 652c2c2a80 Add README to pkg 11 years ago

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!