Table des matières

, , ,

Pb podman

Voir aussi :

Err

Podman userland avec LDAP

$ podman ps
ERRO[0000] cannot find UID/GID for user user1@acme.local: no subuid ranges found for user "user1@acme.local" in /etc/subuid - check rootless mode in man pages.
WARN[0000] Using rootless single mapping into the namespace. This might break some images. Check /etc/subuid and /etc/subgid for adding sub*ids if not using a network user
CONTAINER ID  IMAGE       COMMAND     CREATED     STATUS      PORTS       NAMES

Solution

#echo "$(id -un):$(id -u):65536" | sudo tee -a /etc/subuid
#echo "$(id -gn):$(id -g):65536" | sudo tee -a /etc/subgid
 
sudo usermod --add-subuids "$(id -u)-$(( $(id -u) + 65535))" --add-subgids "$(id -g)-$(( $(id -g) + 65535))" "$(id -un)"

FIXME