podman

configure files

ENVIRONMENT VARIABLES
FILE NAME
ROOTFUL
ROOTLESS

CONTAINERS_CONF

mounts.conf

/etc/containers/mounts.conf

$HOME/.config/containers/mounts.conf

-

policy.json

/etc/containers/policy.json

-

CONTAINERS_REGISTRIES_CONF

registries.conf

/etc/containers/registries.conf

$HOME/.config/containers/registries.conf

CONTAINERS_STORAGE_CONF

storage.conf

/etc/containers/storage.conf

$HOME/.config/containers/storage.conf

-

containers.conf

/usr/share/containers/containers.conf

$HOME/.config/containers/containers.conf

  • short-name-aliases.conf

  • storage.conf

  • registries.conf

  • policy.json

rootless mode

enable rootless_storage_path

  • or

setup subuid and subgid

[!NOTE] Rootless mode Podman can also be used as non-root user. When podman runs in rootless mode, a user namespace is automatically created for the user, defined in /etc/subuid and /etc/subgid

references:

Q&A

[!TIP] reference:

error creating tmpdir: mkdir /run/user/1001: permission denied

Last updated

Was this helpful?