Outils pour utilisateurs

Outils du site


tech:pb_podman

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
tech:pb_podman [2026/05/28 18:09] Jean-Baptistetech:pb_podman [2026/07/16 13:29] (Version actuelle) Jean-Baptiste
Ligne 1: Ligne 1:
 +<!DOCTYPE markdown>
 +{{tag>Pb podman Rootless LDAP}}
 +
 +# Pb podman
 +
 +
 +Voir aussi :
 +  * /proc/sys/user/max_user_namespaces
 +
 +
 +## 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
 +
 +~~~bash
 +#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
 +
  

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki