Skip to content

Podman pull official images from docker hub

homepage-banner

To pull an official image from Docker Hub with Podman, you will first need to have Podman installed on your system. Once Podman is installed, you can use the following command to pull an image from Docker Hub:

way 1

podman pull docker.io/library/redis

way 2

Edit /etc/containers/registries.conf or $HOME/.config/containers/registries.conf, and add

unqualified-search-registries = ["docker.io", "quay.io"]

Then

podman pull nginx

Disclaimer
  1. License under CC BY-NC 4.0
  2. Copyright issue feedback me#imzye.com, replace # with @
  3. Not all the commands and scripts are tested in production environment, use at your own risk
  4. No personal information is collected.
Feedback