安装

sudo dnf -y install docker

podman-compose



配置文件

/etc/containers/registries.conf

文档后面增加以下内容:
[registries.search]
registries = ['registry.access.redhat.com',
              'registry.redhat.io',
              'docker.io']
unqualified-search-registries = ["registry.fedoraproject.org",
      "registry.access.redhat.com",
      "registry.centos.org",
      "docker.io"]