Score:0

How to change the default infra container in Podman?

in flag

I am trying to use podman-compose to spin up an environment. The env is air gapped from the internet and uses a local docker registry to pull images.

The issue is when I run podman-compose up, it tries to create the initial infra container from the default image "k8s.gcr.io/pause" which is located on the internet.

I have pushed this image to our local registry, but I can't find how to tell podman to use this image instead of the internet one.

dranobob avatar
in flag
I was able to get around this by creating the infr container manually "podman pod create --name=<name of infra used by containers> --share net --infra --infra-image company-registry.com/k8s.gcr.io/pause:3.5", but hoping there is a default value somewhere as this still throws an ignorable error.
Score:1
ve flag

change line "infra_image" in file containers.conf

Container engines will read containers.conf files in up to three locations in the following order:

  1. /usr/share/containers/containers.conf
  2. /etc/containers/containers.conf
  3. $HOME/.config/containers/containers.conf (Rootless containers ONLY)
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.