Skip to content
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

short-name-mode="enforcing", unqualified-search-registries #53

Closed
westurner opened this issue Apr 26, 2023 · 2 comments
Closed

short-name-mode="enforcing", unqualified-search-registries #53

westurner opened this issue Apr 26, 2023 · 2 comments

Comments

@westurner
Copy link

If the repo2docker Dockerfile template is changed, changing /etc/containers/registries.conf shouldn't be necessary for repo2docker/repo2podman, at least:

FROM buildpack-deps:bionic             # short-name
FROM docker.io/buildpack-deps:bionic   # "qulified" name
@westurner
Copy link
Author

From https://marcusnoble.co.uk/2021-09-01-migrating-from-docker-to-podman/ :

If we want Podman to perform more like Docker we'll want to change this value to permissive:

sudo sed -i 's/short-name-mode="enforcing"/short-name-mode="permissive"/g' /etc/containers/registries.conf

There's one more property in this file that it's worth at least being aware of.

unqualified-search-registries = ["registry.fedoraproject.org", "registry.access.redhat.com", "docker.io", "quay.io"]

This property contains a list of all the registries that will be checked (in order) when looking up a short name image. Be sure the values in here are ones that you trust!

@manics
Copy link
Owner

manics commented Oct 14, 2023

Done in jupyterhub/repo2docker#909

@manics manics closed this as completed Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants