mirror of
https://github.com/distribution/distribution.git
synced 2025-09-06 09:20:45 +00:00
New path for distribution config (#4365)
This commit is contained in:
@@ -50,7 +50,7 @@ specify it in the `docker run` command:
|
||||
|
||||
```bash
|
||||
$ docker run -d -p 5000:5000 --restart=always --name registry \
|
||||
-v `pwd`/config.yml:/etc/docker/registry/config.yml \
|
||||
-v `pwd`/config.yml:/etc/distribution/config.yml \
|
||||
registry:2
|
||||
```
|
||||
|
||||
|
@@ -72,7 +72,7 @@ be configured to use the `filesystem` driver for storage.
|
||||
|
||||
The easiest way to run a registry as a pull through cache is to run the official
|
||||
Registry image.
|
||||
At least, you need to specify `proxy.remoteurl` within `/etc/docker/registry/config.yml`
|
||||
At least, you need to specify `proxy.remoteurl` within `/etc/distribution/config.yml`
|
||||
as described in the following subsection.
|
||||
|
||||
Multiple registry caches can be deployed over the same back-end. A single
|
||||
|
Reference in New Issue
Block a user