1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/contrib
Sebastiaan van Stijn 428d7337e8
Don't set ulimits (nproc)
There is a not-insignificant performance overhead for all containers (if
containerd is a child of Docker, which is the current setup) if rlimits are
set on the main Docker daemon process (because the limits
propogate to all children).

We recommend using cgroups to do container-local accounting.

This applies the change added in 8db61095a3
to other init scripts.

Note that nfile cannot be set to unlimited, and the limit
is hardcoded to 1048576 (2^20) , see:
http://stackoverflow.com/a/1213069/1811501

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-07-13 17:15:19 +02:00
..
apparmor
builder contrib: builder: rpm: add Fedora 24 2016-06-23 12:31:11 +02:00
completion Change bash completion for docker run --net* to --network* 2016-07-13 12:42:33 +02:00
desktop-integration
docker-device-tool Add docs about how to extend devicemapper thin pool 2016-04-20 10:49:51 +08:00
docker-engine-selinux Update the binary name in docker-engine-selinux/docker.fc. 2016-04-27 11:41:21 -04:00
gitdm Add gitdm configuration 2016-05-28 21:08:20 -07:00
httpserver
init Don't set ulimits (nproc) 2016-07-13 17:15:19 +02:00
mkimage Update contrib/mkimage/debootstrap to account for Debian LTS changes 2016-05-04 08:39:45 -07:00
nnp-test Add support for NoNewPrivileges in docker 2016-03-07 09:47:02 -08:00
reprepro
syntax Update Dockerfile highlight definitions 2016-06-05 17:45:21 +02:00
syscall-test
udev
vagrant-docker
check-config.sh Add IPVLAN and DUMMY to check-config.sh 2016-07-07 21:21:57 -04:00
dockerize-disk.sh
download-frozen-image-v1.sh
download-frozen-image-v2.sh
mkimage-alpine.sh
mkimage-arch-pacman.conf
mkimage-arch.sh
mkimage-archarm-pacman.conf
mkimage-busybox.sh
mkimage-crux.sh
mkimage-debootstrap.sh
mkimage-rinse.sh
mkimage-yum.sh
mkimage.sh
nuke-graph-directory.sh
project-stats.sh
README.md Add .md extension to readme for markdown rendering 2016-02-24 20:39:46 +00:00
report-issue.sh
REVIEWERS

The contrib directory contains scripts, images, and other helpful things which are not part of the core docker distribution. Please note that they could be out of date, since they do not receive the same attention as the rest of the repository.