Outils pour utilisateurs

Outils du site


tech:notes_depot_docker_-_docker_registry

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:notes_depot_docker_-_docker_registry [2025/09/30 14:21] Jean-Baptistetech:notes_depot_docker_-_docker_registry [2026/03/03 10:02] (Version actuelle) Jean-Baptiste
Ligne 2: Ligne 2:
  
 = Notes Dépôt Docker - Docker Registry = Notes Dépôt Docker - Docker Registry
 +
 +Voir :
 +* [[Scan de vulnérabilité pour les images de conteneurs]]
 +* https://blog.stephane-robert.info/docs/conteneurs/registres/
 +* https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry
 +
  
 == Registry (comme JFrog Artifactory) == Registry (comme JFrog Artifactory)
Ligne 8: Ligne 14:
 * Gitlab registry * Gitlab registry
 * [[http://port.us.org/|Portus]] * [[http://port.us.org/|Portus]]
 +
 +
 +
 +== Public registry
 +
 +Voir :
 +  * https://argocd-image-updater.readthedocs.io/en/stable/configuration/registries/
  
  
Ligne 22: Ligne 35:
  
 ** Brouillon, insecure registry** ** Brouillon, insecure registry**
 +
  
 === Client === Client
  
-<code ini /etc/systemd/system/docker.service.d/http-proxy.conf>+Voir : 
 +  * ''/etc/containers/registries.conf'' et ''~/.config/containers/registries.conf'' 
 +  * https://docs.podman.io/en/v2.2.1/markdown/podman-search.1.html 
 + 
 +''/etc/systemd/system/docker.service.d/http-proxy.conf'' 
 +<code ini>
 [Service] [Service]
-Environment="HTTP_PROXY=http://192.168.56.1:3128/" "HTTPS_PROXY=http://192.168.56.1:3128/" "NO_PROXY=localhost,127.0.0.0/8,192.168.0.0/16,registry.local"+Environment="HTTP_PROXY=http://192.168.56.1:3128/" "HTTPS_PROXY=http://192.168.56.1:3128/" "NO_PROXY=localhost,127.0.0.0/8,192.168.0.0/16,registry.local" 
 +Environment="http_proxy=http://192.168.56.1:3128/" "https_proxy=http://192.168.56.1:3128/" "NO_PROXY=localhost,127.0.0.0/8,192.168.0.0/16,registry.local"
 </code> </code>
  
Ligne 40: Ligne 60:
 </code> </code>
  
-<code - /etc/hosts>+''/etc/hosts'' 
 +<code ->
 192.168.205.18 docker-1 192.168.205.18 docker-1
 </code> </code>
Ligne 49: Ligne 70:
 curl -X GET -u <user>:<pass> https://myregistry:5000/v2/ubuntu/tags/list curl -X GET -u <user>:<pass> https://myregistry:5000/v2/ubuntu/tags/list
 </code> </code>
 +
  
 ==== SSL/TLS ==== SSL/TLS
Ligne 60: Ligne 82:
 Autre solution  Autre solution 
  
-<code javascript /etc/docker/daemon.json>+''/etc/docker/daemon.json'' 
 +<code javascript>
 { {
     "log-level":        "error",     "log-level":        "error",
Ligne 75: Ligne 98:
 Ne semble plus marcher. \\ Ne semble plus marcher. \\
 Avant nous pouvions spécifier un numéro de port au registry Docker. Avant nous pouvions spécifier un numéro de port au registry Docker.
-<code javascript /etc/docker/daemon.json>+ 
 +''/etc/docker/daemon.json'' 
 +<code javascript>
 { {
           "insecure-registries" : ["docker-1:5000"]           "insecure-registries" : ["docker-1:5000"]
Ligne 98: Ligne 123:
  
  
-<code yaml docker-compose.yml>+''docker-compose.yml'' 
 +<code yaml>
 version: '3' version: '3'
 services: services:
Ligne 117: Ligne 143:
 </code> </code>
  
-<code yaml docker-compose.yml>+''docker-compose.yml'' 
 +<code yaml>
 version: '3' version: '3'
 services: services:
Ligne 155: Ligne 182:
 docker-compose up docker-compose up
 </code> </code>
 +
  
 == Utilisation == Utilisation
Ligne 251: Ligne 279:
   * ''podman search''   * ''podman search''
   * ''crane'' (asdf)   * ''crane'' (asdf)
 +  * skopeo
 +
 +https://blog.stephane-robert.info/docs/conteneurs/outils/crane/
 +
 +
 +<code bash>
 +skopeo inspect docker://tomsquest/docker-radicale | jq
 +
 +podman search --list-tags docker.io/library/centos --limit 5
 +
 +skopeo list-tags docker://docker.io/library/centos
 +</code>
 +
 +
 +
 +
 +=== Pb 
 +
 +==== Error "server gave HTTP response to HTTPS client"
 +
 +<code bash>
 +podman exec -ti kind-control-plane /bin/bash
 +ctr -n k8s.io image pull --plain-http=true registry.test.svc.cluster.local:5000/awx-ee-gts-it:2.19.3-2-1
 +</code>
  
  
tech/notes_depot_docker_-_docker_registry.1759234899.txt.gz · Dernière modification : de Jean-Baptiste

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki