Get started with Rancher in two easy steps
Get Started in Two Easy Steps
Step One: Prepare a Linux Host
Prepare a Linux host and install Docker onto it. Use any Linux flavor supported by Docker, and install a version of Docker supported by Kubernetes:
For instructions on how to install Docker, see the instructions on the Docker website.
Step Two: Start Rancher
Execute the following command to download and run the Rancher server:
$ sudo docker run -d --restart=unless-stopped -p 80:80 -p 443:443 rancher/rancher:latest
The server takes less than a minute to install and will be available at
https://<server_ip>. Once the server is running, log in and follow the instructions.
Note: This command does not enable persistent storage for the server and should only be used in a test environment. To enable persistence, add
-v /opt/rancher:/var/lib/rancher to the command to bind a host volume to the container.
Learn more by heading to the Getting Started Guide