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

Prochaine révision
Révision précédente
tech:notes_depot_docker_-_docker_registry [2025/03/24 15:06] – créée - modification externe 127.0.0.1tech: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/
  
  
 == Configuration == Configuration
 +
 +Voir :
 +* https://forum.ansible.com/t/running-a-local-container-registry-for-execution-environments/206
  
 Voir aussi :  Voir aussi : 
Ligne 19: 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 37: 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 46: 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 57: 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 72: 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 95: Ligne 123:
  
  
-<code yaml docker-compose.yml>+''docker-compose.yml'' 
 +<code yaml>
 version: '3' version: '3'
 services: services:
Ligne 114: Ligne 143:
 </code> </code>
  
-<code yaml docker-compose.yml>+''docker-compose.yml'' 
 +<code yaml>
 version: '3' version: '3'
 services: services:
Ligne 152: Ligne 182:
 docker-compose up docker-compose up
 </code> </code>
 +
  
 == Utilisation == Utilisation
Ligne 242: Ligne 273:
 </code> </code>
  
 +
 +== Client
 +
 +Voir : 
 +  * ''podman search''
 +  * ''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.1742825205.txt.gz · Dernière modification : de 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki