mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
openrc: allow customizing containerd service name
Signed-off-by: Viacheslav Gagara <viacheslavg@gmail.com>
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