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

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!