User Tools

Site Tools


dockermirror

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
dockermirror [2015/07/28 20:37]
moliver created
dockermirror [2020/04/10 17:38] (current)
Line 1: Line 1:
-Para usar +Para instalar el servicio de repositiorio se debe hacer lo siguiente:​ 
 + 
 +You will need to start a local registry mirror service. The registry image provides this functionality. For example, to run a local registry mirror that serves on port 5000 and mirrors the content at registry-1.docker.io:​ 
 + 
 +  docker run -p 5000:5000 \ 
 +    -e STANDALONE=false \ 
 +    -e MIRROR_SOURCE=https://​registry-1.docker.io \ 
 +    -e MIRROR_SOURCE_INDEX=https://​index.docker.io \ 
 +    registry 
 + 
 + 
 + 
 + 
 +Para usar este repositorio desde otra computadora se debe realizar la siguiente modificación en el servicio docker: 
 + 
 +You will need to pass the --registry-mirror option to your Docker daemon on startup: 
 + 
 +  docker --registry-mirror=http://<​my-docker-mirror-host>​ -d 
 + 
 +For example, if your mirror is serving on http://​10.0.0.2:​5000,​ you would run: 
 + 
 +  docker --registry-mirror=http://​10.0.0.2:​5000 -d 
 + 
 +Lo mejor es modificar la variable DOCKER_OPTS /​etc/​default/​docker  
 + 
 +Aun despues de este cambio la estacion necesita acceso a los sitios: 
 + 
 +  registry-1.docker.io:​443 
 +  index.docker.io:​443 
 + 
 +Una solución es permitir el acceso a través de un proxy sin autentificación para esos sitios. 
 + 
 +Si usted conoce una via para evitar eso por favor contáctenos. 
 + 
dockermirror.1438115829.txt.gz · Last modified: 2020/04/10 17:38 (external edit)