- Details
- Written by: po3dno
- Category: Docker
- Hits: 17
nano /lib/systemd/system/docker.service
ExecStart=
ExecStart=/usr/bin/dockerd -H fd:// -H tcp://0.0.0.0:2376 --containerd=/run/containerd/containerd.sock
sudo systemctl daemon-reload
sudo systemctl restart docker.service
ss -lntp | grep dockerd
- Details
- Written by: po3dno
- Category: Docker
- Hits: 34
docker run -it --rm --name bind9-container -e TZ=UTC -p 53:53 -p 53:53/udp --mount type=bind,source=/data/bind/conf/,target=/etc/bind:rw ubuntu/bind9
docker exec -it bind9-container /bin/bash
docker volume create --opt type=none --opt device=/data/bind/bind-conf --opt o=bind bind-conf bind-conf