File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ Web UI, authentication service and event recorder for private docker registry v2
31
31
32
32
2 . Run with docker
33
33
34
- docker run -i -t -p 8080:8080 --link registry -v . /config.yml:/config/config.yml hyper/docker-registry-web
34
+ docker run -i -t -p 8080:8080 --link registry -v $(pwd) /config.yml:/config/config.yml:ro hyper/docker-registry-web
35
35
36
36
3 . Web UI will be available on ` http://localhost:8080 `
37
37
@@ -80,7 +80,7 @@ Web UI, authentication service and event recorder for private docker registry v2
80
80
key: /config/auth.key
81
81
82
82
5 . Run with docker
83
- docker run -i -t -p 8080:8080 --link registry -v . /conf:/config/ -v . /db:/data hyper/docker-registry-web
83
+ docker run -i -t -p 8080:8080 --link registry -v $(pwd) /conf:/config/: ro -v $(pwd) /db:/data hyper/docker-registry-web
84
84
85
85
6 . Web UI will be available on ` http://localhost:8080 ` with default admin user/password ` admin/admin ` .
86
86
You can’t perform that action at this time.
0 commit comments