1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg
Antonio Murdaca 94464e3a5e Validate --cpuset-cpus, --cpuset-mems
Before this patch libcontainer badly errored out with `invalid
argument` or `numerical result out of range` while trying to write
to cpuset.cpus or cpuset.mems with an invalid value provided.
This patch adds validation to --cpuset-cpus and --cpuset-mems flag along with
validation based on system's available cpus/mems before starting a container.

Signed-off-by: Antonio Murdaca <runcom@linux.com>
2015-09-27 16:38:58 +02:00
..
ansiescape
archive Windows: Fix long path handling for docker build 2015-09-15 10:58:11 -07:00
broadcastwriter
chrootarchive Windows: Fix long path handling for docker build 2015-09-15 10:58:11 -07:00
devicemapper
directory Windows: Fix long path handling for docker build 2015-09-15 10:58:11 -07:00
fileutils Windows: Fix warning on info 2015-09-18 13:39:12 -07:00
graphdb
homedir
httputils
integration Fixes 16556 CI failures 2015-09-24 11:19:00 -07:00
ioutils goroutine fairness is not guaranteed causing the hang with GCCGO 2015-09-25 14:40:16 +00:00
jsonlog
jsonmessage Add context.RequestID to event stream 2015-09-24 11:56:37 -07:00
listenbuffer
longpath Windows: Fix long path handling for docker build 2015-09-15 10:58:11 -07:00
mflag
mount
namesgenerator Adding another scientist to the hall of fame. 2015-09-18 21:31:12 +02:00
nat
parsers Validate --cpuset-cpus, --cpuset-mems 2015-09-27 16:38:58 +02:00
pidfile
plugins Merge pull request #16494 from calavera/fix_plugin_url_scheme 2015-09-23 16:18:00 -07:00
pools
progressreader Make Broadcaster Wait function wait for all writers to finish before returning 2015-09-11 10:54:40 -07:00
promise
proxy
pubsub
random
reexec
signal
sockets
stdcopy Add StdCopy happy path test: both reading and writing 2015-09-23 17:27:32 +02:00
streamformatter
stringid
stringutils
symlink Windows: Fix long path handling for docker build 2015-09-15 10:58:11 -07:00
sysinfo Validate --cpuset-cpus, --cpuset-mems 2015-09-27 16:38:58 +02:00
system
tailfile
tarsum
term Remove unused variable, fix #16310 2015-09-15 22:20:10 +02:00
timeoutconn
timeutils
tlsconfig
truncindex
ulimit
units
urlutil
useragent
version
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!