Skip to content

podman

Usage

Tag an image:

podman tag 2064b9bc9da7 myimage:latest

Install

sudo dnf install -y \
  podman \
  podman-docker \
  podman-compose

Config

Show

podman info

Set $DOCKER_HOST for backwards compatibility with things that need it:

export DOCKER_HOST="unix://$(podman info --format '{{.Host.RemoteSocket.Path}}')"

Stop telling me it's Podman emulating Docker

sudo touch /etc/containers/nodocker

Default to docker.io image registry

sudo vi /etc/containers/registries.conf
registries = ['docker.io']

See also