This shows you the differences between two versions of the page.
rancheruclv [2016/11/25 16:15] 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 para debian: https://docs.docker.com/engine/installation/linux/debian/ | ||
- | Para jessie: | ||
- | <code> | ||
- | apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | ||
- | cat > /etc/apt/sources.list.d/docker.list << 'EoT' | ||
- | |||
- | deb https://apt.dockerproject.org/repo debian-jessie main | ||
- | |||
- | EoT | ||
- | |||
- | apt-get install apt-transport-https | ||
- | apt-get update | ||
- | apt-cache policy docker-engine | ||
- | apt-get -y install docker-engine | ||
- | |||
- | 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 | ||
- | |||
- | |||
- | service docker start | ||
- | |||
- | #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 | ||
- | # Tail the logs to show Rancher | ||
- | #docker logs -f <CONTAINER_ID> | ||
- | </code> | ||
- | |||
- | |||
- | |||