Skip to content

Commit

Permalink
Merge pull request #94 from hsf-training/fix-setup
Browse files Browse the repository at this point in the history
Adding a note about default registry with Podman
  • Loading branch information
amorenobr authored Feb 26, 2024
2 parents 015d816 + 86f0c22 commit 49fbe72
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions _episodes/02-pulling-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,20 @@ podman pull matthewfeickert/intro-to-docker
~~~
{: .source}

> ## No search registry defined
> Some installations of Podman may end with an error like `Error: unable to pull matthewfeickert/intro-to-docker:latest: unable to find registry in the system`.
> This is because the default registry is not defined. You can fix this by adding the `docker.io` registry at the command:
> ~~~bash
> podman pull docker.io/matthewfeickert/intro-to-docker
> ~~~
>
> Or, to pull images by default from Docker Hub, adding the following line to the `/etc/containers/registries.conf` file:
> ~~~bash
> unqualified-search-registries=["docker.io"]
> ~~~
>
{: .callout}
> ## Connection errors
> If using Podman or Docker in a non-Linux machine you run into an error like `Error: unable to connect to Podman`,
> make sure that the Podman or Docker desktop application is running.
Expand Down

0 comments on commit 49fbe72

Please sign in to comment.