Skip to content

Commit f46d486

Browse files
authored
Merge pull request #348 from Syphdias/docker-ro-docket
Explicitly make docker socket rw in documentation
2 parents da4354f + 9920785 commit f46d486

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Fetch the template and start the docker-gen container with the shared volume:
7171
$ mkdir -p /tmp/templates && cd /tmp/templates
7272
$ curl -o nginx.tmpl https://raw.githubusercontent.com/nginx-proxy/docker-gen/main/templates/nginx.tmpl
7373
$ docker run -d --name nginx-gen --volumes-from nginx \
74-
-v /var/run/docker.sock:/tmp/docker.sock:ro \
74+
-v /var/run/docker.sock:/tmp/docker.sock:rw \
7575
-v /tmp/templates:/etc/docker-gen/templates \
7676
-t nginxproxy/docker-gen -notify-sighup nginx -watch -only-exposed /etc/docker-gen/templates/nginx.tmpl /etc/nginx/conf.d/default.conf
7777
```

0 commit comments

Comments
 (0)