From db71b022d6ac02e8b2c35bc031d3f8f6b1e251a3 Mon Sep 17 00:00:00 2001 From: Aartsie Date: Sun, 29 Jan 2023 15:21:07 +0100 Subject: [PATCH] DOCS: Getting started fixed Docker run command (#1997) Co-authored-by: Aartsie Co-authored-by: Tom Limoncelli --- documentation/getting-started.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/documentation/getting-started.md b/documentation/getting-started.md index 4d8ae7e13..2e8534193 100644 --- a/documentation/getting-started.md +++ b/documentation/getting-started.md @@ -26,7 +26,14 @@ sudo port install dnscontrol You can use DNSControl locally using the Docker image from [Docker hub](https://hub.docker.com/r/stackexchange/dnscontrol/) and the command below. ```shell -docker run --rm -it -v $(pwd)/dnsconfig.js:/dns/dnsconfig.js -v $(pwd)/creds.json:/dns/creds.json stackexchange/dnscontrol preview +docker run --rm \ + -it \ + -v $(pwd)/dnsconfig.js:/dns/dnsconfig.js \ + -v $(pwd)/creds.json:/dns/creds.json \ + -v $(pwd)/zones/:/dns/zones/ \ + -u $(id -u ${USER}):$(id -g ${USER}) \ + stackexchange/dnscontrol \ + preview ``` ### Binaries