Docker-out-of-Docker (DooD)

Docker-out-of-Docker (DooD)

Using the existing Docker daemon

How it works

Containerized Docker CLI

Mapped Docker socket

Disadvantages

Conflicts with other containers

Interferes with the host

Demo: Docker-out-of-Docker (DooD)

Mapping the daemon socket

Use existing daemon from container:

docker run --interactive --tty --rm \
    --volume /var/run/docker.sock:/var/run/docker.sock \
    docker:19.03.12 \
        docker version