Difficulty: Beginner
Estimated Time: 10 minutes

This scenario will guide you through deploying Rancher, adding a custom cluster and adding a node to this cluster.

Rancher 2 and custom cluster

Step 1 of 2

Step 1

Run Rancher

The node node01 is used to run Rancher. For this scenario we are using Docker to run Rancher, referred in the documentation as Single Node Install

docker run -d --restart=unless-stopped -p 80:80 -p 443:443 rancher/rancher:latest

Rancher should be accessible within 60 seconds after pulling the Docker image. You can use the following command to check if Rancher is ready:

while true; do curl -sLk && break; sleep 2; done

You can access Rancher using the following URL:


You should be prompted for setting a password.

Terminal Host 2