forked from pool/docker
Accepting request 652641 from home:cyphar:containers:docker_18.09
- Update docker.service to match upstream and avoid rlimit problems. bsc#1112980 OBS-URL: https://build.opensuse.org/request/show/652641 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=272
This commit is contained in:
parent
4bdf0ab402
commit
51f454aa26
@ -1,8 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 29 09:41:11 UTC 2018 - Aleksa Sarai <asarai@suse.com>
|
||||
|
||||
- Update docker.service to match upstream and avoid rlimit problems.
|
||||
bsc#1112980
|
||||
- Upgrade to Docker 18.09.0-ce. See upstream changelog in the packaged
|
||||
/usr/share/doc/packages/docker/CHANGELOG.md
|
||||
/usr/share/doc/packages/docker/CHANGELOG.md. boo#1115464
|
||||
- Add revert of an upstream patch to fix docker-* handling.
|
||||
+ packaging-0001-revert-Remove-docker-prefix-for-containerd-and-runc-.patch
|
||||
- Rebase patches:
|
||||
|
@ -15,7 +15,7 @@ ExecReload=/bin/kill -s HUP $MAINPID
|
||||
|
||||
# Having non-zero Limit*s causes performance problems due to accounting overhead
|
||||
# in the kernel. We recommend using cgroups to do container-local accounting.
|
||||
LimitNOFILE=infinity
|
||||
LimitNOFILE=1048576
|
||||
LimitNPROC=infinity
|
||||
LimitCORE=infinity
|
||||
|
||||
@ -27,9 +27,13 @@ TasksMax=infinity
|
||||
# Only systemd 218 and above support this property.
|
||||
Delegate=yes
|
||||
|
||||
# This is not necessary because of how we set up containerd.
|
||||
#KillMode=process
|
||||
# Kill only the docker process, not all processes in the cgroup.
|
||||
KillMode=process
|
||||
|
||||
# Restart the docker process if it exits prematurely.
|
||||
Restart=on-failure
|
||||
StartLimitBurst=3
|
||||
StartLimitInterval=60s
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user