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

docs: set default registry to containers-registries.conf or add instructions to manually update it #15

Open
kimminss0 opened this issue Oct 2, 2024 · 0 comments
Labels
bug Something isn't working documentation Improvements or additions to Podman on FreeBSD documentation

Comments

@kimminss0
Copy link

kimminss0 commented Oct 2, 2024

The following instruction from the documentation on podman.io and the package messages from FreeBSD's port/pkg fails:

It is possible to run many Linux container images using FreeBSD's Linux emulation:

$ sudo sysrc linux_enable=YES
$ sudo service linux start
$ sudo podman run --rm --os=linux alpine cat /etc/os-release | head -1
NAME="Alpine Linux"

Here is how it fails:

# podman run --rm --os=linux alpine cat /etc/os-release
Error: short-name "alpine" did not resolve to an alias and no unqualified-search registries are defined in "/usr/local/etc/containers/registries.conf"

As related to #9, this issue seems to occur due to missing defaults for unqualified-search-registries in the configuration file, as described in man 5 containers-registries.conf. The instruction succeeded when I updated the configuration manually.

It would be nice to add some default entires such as ["quay.io", "docker.io"]. If that is not possible, at least, the documentation and package messages should include instructions on how to update the registries.conf file to add these repositories manually.

@alice-sowerby alice-sowerby added bug Something isn't working documentation Improvements or additions to Podman on FreeBSD documentation labels Nov 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to Podman on FreeBSD documentation
Projects
None yet
Development

No branches or pull requests

2 participants