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

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!