User Tools

Site Tools


rancheruclv

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
rancheruclv [2016/12/01 16:33]
moliver
rancheruclv [2020/04/10 17:38] (current)
Line 11: Line 11:
 Si no se tiene conexion directa con Internet o a traves de un proxy se puede usar el servicio de caché del Nexus de la UCLV como se explica aquí: http://​redtic.uclv.cu/​dokuwiki/​dockernexus Si no se tiene conexion directa con Internet o a traves de un proxy se puede usar el servicio de caché del Nexus de la UCLV como se explica aquí: http://​redtic.uclv.cu/​dokuwiki/​dockernexus
  
- +Instalar ​racher-server
- +
- +
- +
- +
- +
- +
-mkdir -p /​etc/​systemd/​system/​docker.service.d +
-cat > /​etc/​systemd/​system/​docker.service.d/​http-proxy.conf << '​EoT'​ +
-[Service] +
-Environment="​HTTPS_PROXY=http://​10.12.1.7:​3130/"​ "​HTTP_PROXY=http://​10.12.1.7:​3130/"​ "​NO_PROXY=localhost,​127.0.0.1,​docker-registry.uclv.edu.cu"​ +
-EoT +
- +
-systemctl daemon-reload +
- +
-service docker restart +
- +
-#​Comprobando +
-docker run hello-world +
- +
- +
- +
-</​code>​ +
- +
-Instalar ​docker para ubuntu: apt-get install docker.io +
- +
- +
- +
-Start Rancher Server +
 <​code>​ <​code>​
 docker run -d --restart=unless-stopped -p 8080:8080 rancher/​server docker run -d --restart=unless-stopped -p 8080:8080 rancher/​server
rancheruclv.txt · Last modified: 2020/04/10 17:38 (external edit)