Operator for running Docker in Docker (DinD) as a Swarm service
1.3K
Simple operator for running Docker in Docker (DinD) as a Swarm service
The following flags are currently available:
--args string - the arguments to give to the DinD container--binds stringArray - the directories to bind in the container--image string - the image to use for DinD (default "docker:18.09-dind")--name string - the name to give to the DinD container (default "swarm-dind-operator")--stop-timeout int - the timeout to wait when the container is stopped in seconds (default 10)--help prints the help messageGiven the following docker-compose.yml file
version: '3.7'
services:
dind:
image: sourcelair/swarm-operator-dind
command:
- swarm-operator-dind
- --args=--experimental
- --binds=/mnt/dind:/var/lib/docker
volumes:
- /var/run/docker.sock:/var/run/docker.sock
you can deploy the operator to Docker Swarm with
docker stack deploy -c docker-compose.yml
Content type
Image
Digest
Size
10.3 MB
Last updated
over 7 years ago
docker pull sourcelair/swarm-dind-operator