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/09/03 15:07] – Jean-Baptistetech:pb_podman [2026/11/03 15:46] (Version actuelle) – Jean-Baptiste
Ligne 3: Ligne 3:
  
 # Pb Podman # Pb Podman
 +
 +
 +Voir :
 +  * [[Pb podman - image is in use by a container]]
  
  
Ligne 9: Ligne 13:
  
  
-## Err +## Err ldap - no subuid
  
 Podman userland avec LDAP Podman userland avec LDAP
Ligne 18: Ligne 22:
 CONTAINER ID  IMAGE       COMMAND     CREATED     STATUS      PORTS       NAMES CONTAINER ID  IMAGE       COMMAND     CREATED     STATUS      PORTS       NAMES
 ~~~ ~~~
 +
  
 ### Solution ### Solution
Ligne 31: Ligne 36:
 ## Err Failed to get rootless runtime dir for DefaultAPIAddress: lstat /run/user/1000: no such file or directory ## Err Failed to get rootless runtime dir for DefaultAPIAddress: lstat /run/user/1000: no such file or directory
  
 +Voir : 
 +* https://support.scc.suse.com/s/kb/Podman-warns-cgroupv2-manager-is-set-to-ssytemd-without-a-user-session
  
 ~~~ ~~~
Ligne 89: Ligne 95:
 $ podman ps $ podman ps
 CONTAINER ID  IMAGE       COMMAND     CREATED     STATUS      PORTS       NAMES CONTAINER ID  IMAGE       COMMAND     CREATED     STATUS      PORTS       NAMES
 +~~~
 +
 +
 +Autre solution à tester
 +
 +`${HOME}/.config/containers/containers.conf`
 +~~~ini
 +[engine]
 +events_logger = "file"
 +cgroup_manager = "cgroupfs"
 ~~~ ~~~
  
Ligne 120: Ligne 136:
 ~~~ ~~~
  
 +
 +## Error: trying to reuse blob .... pinging container registry ... Service Unavailable
 +
 +~~~
 +$ podman push registry.acme.local/ratpc-docker-release-local:v0.0.2
 +Getting image source signatures
 +Error: trying to reuse blob sha256:b745114aa4631b625bce59b474a3ea349d3962528b4eb8f70f3a573b1342d699 at destination: pinging container registry registry.acme.local: Get "https://registry.acme.local/v2/": Service Unavailable
 +~~~
 +
 +
 +### Solution
 +
 +~~~bash
 +unset http_proxy
 +unset https_proxy
 +unset HTTP_PROXY
 +unset HTTPS_PROXY
 +~~~
 +
 +
 +
 +
 +
 +## Error: writing blob: initiating layer upload to /blobs/uploads/ unknown: Not Found
 +
 +~~~
 +Error: writing blob: initiating layer upload to /v2/ratpc-docker-release-local/blobs/uploads/ in registry.acme.local: unknown: Not Found
 +Error: writing blob: initiating layer upload to /blobs/uploads/  unknown: Not Found
 +~~~
 +
 +
 +### Solution
 +
 +Le tag n'était pas bon. Ici nous avons le nom d'un dossier, il fallait ajouter le nom de l'image.
 +
 +~~~bash
 +podman tag localhost/ee-base:v0.0.2 registry.acme.local/ratpc-docker-release-local/ee-base:v0.0.2
 +podman push registry.acme.local/ratpc-docker-release-local/ee-base:v0.0.2
 +~~~
 +
 +
 +## Err - CAP_CHOWN
 +
 +
 +~~~
 +$ podman build -t plop:plop .
 +...
 +[1/2] STEP 65/71: RUN chown -R pcc:users /home/pcc/
 +time="2026-10-01T10:25:55+02:00" level=warning msg="can't raise ambient capability CAP_CHOWN: operation not permitted"
 +time="2026-10-01T10:25:55+02:00" level=warning msg="can't raise ambient capability CAP_DAC_OVERRIDE: operation not permitted"
 +time="2026-10-01T10:25:55+02:00" level=warning msg="can't raise ambient capability CAP_FOWNER: operation not permitted"
 +time="2026-10-01T10:25:55+02:00" level=warning msg="can't raise ambient capability CAP_FSETID: operation not permitted"
 +time="2026-10-01T10:25:55+02:00" level=warning msg="can't raise ambient capability CAP_KILL: operation not permitted"
 +time="2026-10-01T10:25:55+02:00" level=warning msg="can't raise ambient capability CAP_NET_BIND_SERVICE: operation not permitted"
 +time="2026-10-01T10:25:55+02:00" level=warning msg="can't raise ambient capability CAP_SETFCAP: operation not permitted"
 +time="2026-10-0T10:25:55+02:00" level=warning msg="can't raise ambient capability CAP_SETGID: operation not permitted"
 +time="2026-10-01T10:25:55+02:00" level=warning msg="can't raise ambient capability CAP_SETPCAP: operation not permitted"
 +time="2026-10-01T10:25:55+02:00" level=warning msg="can't raise ambient capability CAP_SETUID: operation not permitted"
 +time="2026-10-01T10:25:55+02:00" level=warning msg="can't raise ambient capability CAP_SYS_CHROOT: operation not permitted"
 +~~~
 +
 +
 +### Solution
 +
 +Mettre à jour Podman
  
  
-FIXME 
  
  
tech/pb_podman.1788440847.txt.gz · Dernière modification : de Jean-Baptiste

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki