mirror of
https://github.com/moby/moby.git
synced 2026-06-30 19:58:03 +00:00
Merge pull request #50156 from gagara/openrc-containerd-customization
openrc: allow customizing containerd service name
This commit is contained in:
@@ -25,5 +25,8 @@
|
||||
# where the docker daemon itself is run from
|
||||
#DOCKERD_BINARY="/usr/bin/dockerd"
|
||||
|
||||
# containerd service name
|
||||
#CONTAINERD_SVC="containerd"
|
||||
|
||||
# any other random options you want to pass to docker
|
||||
DOCKER_OPTS=""
|
||||
|
||||
@@ -18,7 +18,7 @@ rc_ulimit="${DOCKER_ULIMIT:--c unlimited -n 524288 -u unlimited}"
|
||||
retry="${DOCKER_RETRY:-TERM/60/KILL/10}"
|
||||
|
||||
depend() {
|
||||
need containerd
|
||||
need ${CONTAINERD_SVC:-containerd}
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
|
||||
Reference in New Issue
Block a user