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 [2025/11/11 19:25] (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]]
  
 == Registry (comme JFrog Artifactory) == Registry (comme JFrog Artifactory)
Ligne 8: Ligne 11:
 * 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 32:
  
 ** 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 57:
 </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 67:
 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 79:
 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 95:
 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 120:
  
  
-<code yaml docker-compose.yml>+''docker-compose.yml'' 
 +<code yaml>
 version: '3' version: '3'
 services: services:
Ligne 114: Ligne 140:
 </code> </code>
  
-<code yaml docker-compose.yml>+''docker-compose.yml'' 
 +<code yaml>
 version: '3' version: '3'
 services: services:
Ligne 152: Ligne 179:
 docker-compose up docker-compose up
 </code> </code>
 +
  
 == Utilisation == Utilisation
Ligne 242: Ligne 270:
 </code> </code>
  
 +
 +== Client
 +
 +Voir : 
 +  * ''podman search''
 +  * ''crane'' (asdf)
 +  * skopeo
 +
 +https://blog.stephane-robert.info/docs/conteneurs/outils/crane/
 +
 +
 +~~~bash
 +skopeo inspect docker://tomsquest/docker-radicale | jq
 +~~~
 +
 +=== 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