User Tools

Site Tools


rancheruclv

Differences

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

Link to this comparison view

rancheruclv [2016/12/01 16:33]
moliver
rancheruclv [2020/04/10 17:38]
Line 1: Line 1:
-Rancher is a complete, open source platform for deploying and managing containers in production. It includes commercially-supported distributions of Kubernetes, Mesos, and Docker Swarm, making it easy to run containerized applications on any infrastructure. ​ 
- 
-{{ :​rancher_1.0_demo_on_vimeo.mp4 |}} 
- 
-Documentos iniciales en: http://​docs.rancher.com/​rancher/​v1.2/​en/​quick-start-guide/​ 
- 
-Instalar el sistema operativo limpio. Se recomienda un Ubuntu pero puede ser cualquier sistema que soporte docker segun la ayuda. 
- 
-Instalar docker según la ayuda aquí: http://​redtic.uclv.cu/​dokuwiki/​dockerinstall 
- 
-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 
- 
- 
- 
- 
- 
- 
- 
- 
-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>​ 
-docker run -d --restart=unless-stopped -p 8080:8080 rancher/​server 
- 
-o 
- 
-docker run -d -e http_proxy="​http://​10.12.1.7:​3128"​ -e https_proxy="​https://​10.12.1.7:​3130"​ \ 
-    -e no_proxy="​localhost,​127.0.0.1,​docker-registry.uclv.edu.cu"​ \ 
-    -e NO_PROXY="​localhost,​127.0.0.1,​docker-registry.uclv.edu.cu"​ \ 
-    --restart=unless-stopped -p 8080:8080 rancher/​server 
- 
-# Tail the logs to show Rancher 
-#docker logs -f <​CONTAINER_ID>​ 
-</​code>​ 
- 
- 
- 
  
rancheruclv.txt · Last modified: 2020/04/10 17:38 (external edit)