mirror of
https://github.com/tiyn/wiki.git
synced 2025-07-13 11:17:46 +02:00
13 lines
265 B
Bash
Executable File
13 lines
265 B
Bash
Executable File
#!/bin/sh
|
|
docker stop bind
|
|
docker rm bind
|
|
docker pull ventz/bind:latest
|
|
docker run --name bind \
|
|
--restart unless-stopped \
|
|
--dns=1.1.1.1 --dns=8.8.8.8 \
|
|
-p 53:53/udp \
|
|
-p 53:53 \
|
|
-v bind_cache:/var/cache/bind \
|
|
-v bind_etc:/etc/bind \
|
|
-d ventz/bind:latest
|