Why do we receive an error "unable to pull image" while creating a pod ?

Solution Verified - Updated -

Issue

  • Podman tries to use the default "k8s.gcr.io" image while creation of pod.

  • Modification to the infra-image option in /usr/share/containers/libpod.conf and /etc/containers/libpod.conf. doesn't reflect in a rootless mode

  • Error freeing pod lock after failed creation: no such file or directory

  • Error: unable to create pod: error adding Infra Container: unable to pull k8s.gcr.io/pause:3.1: unable to pull image

  • Error initializing source docker://k8s.gcr.io/pause:3.1: error pinging docker registry k8s.gcr.io: Get https://k8s.gcr.io/v2/: dial tcp XXX.XXX.XXX.XXX:443: i/o timeout

Environment

  • RHEL 7
  • RHEL 8
  • Podman-1.6.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content