While running docker mention 127.0.0.1 in port mapping

While running docker mention 127.0.0.1 so that it doesn't conflict with resolve daemon
This commit is contained in:
Manju 2024-06-16 14:45:02 +01:00 committed by GitHub
parent 27e8251d11
commit f51231f915
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -165,8 +165,8 @@ go build
5) Run Docker, this example expects that you have `port = "80"` in your `config.cfg`:
```
docker run --rm --name acmedns \
-p 53:53 \
-p 53:53/udp \
-p 127.0.0.1:53:53 \
-p 127.0.0.1:53:53/udp \
-p 80:80 \
-v /path/to/your/config:/etc/acme-dns:ro \
-v /path/to/your/data:/var/lib/acme-dns \