aptalca 2c511d5b33
Merge pull request #1118 from linuxserver/universal-docker-in-docker-alpine
universal-docker-in-docker: update alpine, fix var check
2025-12-31 14:13:25 -05:00
2020-02-02 15:55:44 -05:00
2020-02-02 15:55:44 -05:00
2020-02-02 15:55:44 -05:00
2025-12-31 13:29:42 -05:00
2019-05-30 20:35:20 +01:00
2024-02-22 14:06:44 +01:00

Docker-in-docker (dind) - Docker mod for Ubuntu and Alpine based images

This mod adds docker-in-docker (dind) to Ubuntu and Alpine based images, to be installed/updated during container start. Main advantage is that all docker images, containers, volumes, etc. will reside inside the container and will be sandboxed from the host's docker environment. Main disadvantage is that it requires the container to run with privileged.

How to enable:

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 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

Description
No description provided
Readme GPL-3.0 6.5 MiB
Languages
Text 100%