mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-17 05:42:54 -04:00
Add optional custom data root path
This commit is contained in:
@@ -9,7 +9,7 @@ In the container's docker arguments,
|
||||
* Set an environment variable `DOCKER_MODS=linuxserver/mods:universal-docker-in-docker`
|
||||
* Set the `privileged` option for the container
|
||||
|
||||
Docker data root will reside under `/config/var/lib/docker`.
|
||||
Docker data root will reside under `/config/var/lib/docker` by default, this is configurable by setting `MODS_DIND_PERSISTENCE` to the wanted path.
|
||||
On amd64, QEMU will be enabled on container start.
|
||||
|
||||
If adding multiple mods, enter them in an array separated by `|`, such as `DOCKER_MODS=linuxserver/mods:universal-docker-in-docker|linuxserver/mods:universal-mod2`
|
||||
|
||||
@@ -31,4 +31,4 @@ fi
|
||||
exec \
|
||||
s6-notifyoncheck -d -n 300 -w 1000 -c "docker version" \
|
||||
2>&1 /usr/local/bin/dockerd \
|
||||
--data-root "/config/var/lib/docker"
|
||||
--data-root "${MODS_DIND_PERSISTENCE:-/config/var/lib/docker}"
|
||||
|
||||
Reference in New Issue
Block a user