salix-front/dind.sh

13 lines
335 B
Bash
Raw Normal View History

2024-10-04 10:08:47 +00:00
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