sudo apt-get update -qq
sudo apt-get install -qq -y software-properties-common uidmap
sudo add-apt-repository -y ppa:projectatomic/ppa
sudo apt-get update -qq
sudo apt-get -qq -y install podman
Last active
August 9, 2021 13:56
-
-
Save LinuxSuRen/e2809dcd9200a004b7cb1f139849374a to your computer and use it in GitHub Desktop.
Podman
Podman does not support search images by a shortname. Such as, the image alpine
from dockerhub. But it's possible to provide a default image registry.
You can add docker.io as a default registry after putting the following config into file /etc/containers/registries.conf
[registries.search]
registries = ["docker.io"]
More configuration items:
[registries.search]
registries = ["reg1.example.com", "reg2.example.com"]
[registries.insecure]
registries = ["reg3.example.com"]
[registries.block]
registries = ['docker.io']
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment