8000 Fix doc about config path when overriding by viorel-alexandrescu · Pull Request #4573 · distribution/distribution · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix doc about config path when overriding #4573

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

viorel-alexandrescu
Copy link

I've made a small change in the docs regarding how to override the entire configuration via a .yml file. Apparently the path /etc/distribution/config.yml is not being picked up by the app when starting up.

I've made a small change in the docs regarding how to override the entire configuration via a .yml file. Apparently the path /etc/distribution/config.yml is not being picked up by the app when starting up.

Signed-off-by: Viorel Alexandrescu <147859592+viorel-alexandrescu@users.noreply.github.com>
@milosgajdos
Copy link
Member

Are you using v3 release? V2 release uses different path

@viorel-alexandrescu
Copy link
Author

To be fair, I tried out the example from here, which points to V2 (more specifically this example)

@tJouve
Copy link
tJouve commented Feb 28, 2025

The issue in the documentation is regarding the version of the image

$ docker run -d -p 5000:5000 --restart=always --name registry \
             -v `pwd`/config.yml:/etc/distribution/config.yml \
             registry:2

V2 => /etc/docker/registry/config.yml
Since 975613d => /etc/distribution/config.yml

Path and Version does not match in documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0