| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente |
| tech:pb_podman [2026/09/04 10:00] – Jean-Baptiste | tech:pb_podman [2026/11/03 15:46] (Version actuelle) – Jean-Baptiste |
|---|
| |
| # Pb Podman | # Pb Podman |
| | |
| | |
| | Voir : |
| | * [[Pb podman - image is in use by a container]] |
| |
| |
| ~~~ | ~~~ |
| |
| | |
| | ## 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 | |
| |
| |