root@rootfull:~# pwd
/root
root@rootfull:~# ls -l /var/run/docker.sock
srw-rw---- 1 root docker 0 Oct 5 20:15 /var/run/docker.sock
root@rootfull:~# cat tmp/dind/compose.yml
version: "3"
services:
dind:
image: docker:dind
privileged: true
root@rootfull:~# cat tmp/dind-rootless/compose.yml
version: "3"
services:
dind-rootless:
image: docker:dind-rootless
privileged: true
environment:
- DOCKER_HOST=unix:///var/run/user/1000/docker.sock