13 lines
335 B
Bash
13 lines
335 B
Bash
docker stop dind-container || true && docker rm dind-container || true
|
|
docker run --privileged -d \
|
|
-p 2376:2376 \
|
|
-e DOCKER_TLS_CERTDIR="" \
|
|
--name dind-container \
|
|
-v /home/alexm/Projects/salix-front:/front \
|
|
docker:dind \
|
|
dockerd -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock
|
|
|
|
docker exec -it dind-container sh
|
|
|
|
|