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/10/09 11:52] – 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 130: Ligne 134:
 ~~~bash ~~~bash
 podman pull docker.io/ansible/ansible-container-builder:0.3 podman pull docker.io/ansible/ansible-container-builder:0.3
 +~~~
 +
 +
 +## 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
 ~~~ ~~~
  
Ligne 159: Ligne 203:
  
  
-## Err image is in use by a container: consider listing external containers and force-removing image 
- 
-~~~ 
-$ podman rmi e7ab596f06f1 
-Error: image used by e2d95ff27231cf453ab82fd4c1580e54a4d34d85df6372622e348b00a4e38e49: image is in use by a container: consider listing external containers and force-removing image 
-~~~ 
- 
- 
-### Solution 
- 
-~~~bash 
-podman ps --all --storage 
-~~~ 
- 
-~~~ 
-$ podman ps -a --storage | grep ^e2d95ff27231 
-e2d95ff27231  docker.io/library/d0603175c4739f76d22080fc4f6f34dd453cb96e6d6f4950f99d8a18e31aae1b-tmp:latest  buildah     18 hours ago  Storage                 e7ab596f06f1 
-working-container 
-~~~ 
  
  
tech/pb_podman.1791539550.txt.gz · Dernière modification : de Jean-Baptiste

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki