Using the existing Docker daemon
Containerized Docker CLI
Mapped Docker socket
Conflicts with other containers
Interferes with the host
Mapping the daemon socket
Use existing daemon from container:
docker run --interactive --tty --rm \
--volume /var/run/docker.sock:/var/run/docker.sock \
docker:latest \
docker version