Rancher Labs currently has two products.
Rancher Docker container management platform
RancherOS is a Linux release suitable for running Docker, similar to CoreOS
Rancher Docker container management platform
If the native Docker is a container, Rancher can be used as a container ship, platform-based control, and sailing with applications.
Rancher hosts docker
Docker environment installation
The following describes how to install Rancher in CentOS 7.
Official Docker installation method
Curl-sSL https://get.docker.com/| sh
Use DaoCloud to accelerate Docker installation in domestic environments
Curl-sSL https://get.daocloud.io/docker | sh
Curl-sSL https://get.daocloud.io/daotools/set_mirror.sh | sh-s http: // your daocloudID. m. daocloud. io # set domestic Image Download acceleration
Systemctl start docker. service # CentOS7 start docker
Systemctl enable docker. service # start docker automatically when CentOS7 is started
Docker version # view the docker version
Docker info # View docker information
Sudo service docker status # View docker status
Install the Rancher Management Server administrator
Docker run-d -- restart = always-p 8080: 8080 rancher/server
Install Rancher Agent on the controlled terminal
Master IP: 8080 http: // 192.168.33.11: 8080/> Add Host
Copy the content in step 5 to the controlled machine for installation.
Sudo docker run-e CATTLE_HOST_LABELS = 'Center = localdev & host = Dev'-d -- privileged-v/var/run/docker. sock:/var/run/docker. sock-v/var/lib/rancher:/var/lib/rancher/agent: v1.0.2 http: // 192.168.33.11: 8080/v1/scripts/31B86F01A71423902C9F: 1474722000000: Random
Description
After "Rancher Agent controlled terminal" is installed, you can manage and deploy docker on the "Rancher Management Server Management Terminal".