User Tools

Site Tools


mbstring extension must be loaded in order to run mPDF
dockermirror

This is an old revision of the document!


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.

dockermirror.1438116182.txt.gz · Last modified: 2020/04/10 17:38 (external edit)