Get Started in Minutes
This quick start guide will help you deploy Rancher Server and create your first Kubernetes cluster. This is the fastest way to evaluate Rancher for development or testing.Prerequisites
Before you begin, ensure you have:- A Linux server or VM with Docker installed
- At least 4GB of RAM
- A supported Linux distribution (see Support Matrix)
- Ports 80 and 443 open and available
For detailed system requirements, see the Installation Requirements.
Step 1: Install Rancher Server
Run the Rancher Docker Container
Execute the following command to start Rancher Server:This command will:
The
--privileged flag is required for Rancher to function properly. The --restart=unless-stopped flag ensures Rancher automatically restarts if the container stops.- Download the latest Rancher image
- Start Rancher on ports 80 (HTTP) and 443 (HTTPS)
- Configure automatic restart on failure
Verify the Container is Running
Check that the Rancher container is running:You should see output similar to:
Step 2: Access the Rancher UI
Open Rancher in Your Browser
Navigate to:
You’ll see a certificate warning because Rancher uses a self-signed certificate by default. This is normal for development environments. Click through the warning to proceed.
Get the Bootstrap Password
On first access, Rancher will prompt you for the bootstrap password. Retrieve it from the container logs:Copy the password shown in the output.
Set Your Admin Password
Enter the bootstrap password and set your own admin password. Make sure to choose a strong password.
Step 3: Explore the Rancher Dashboard
Once logged in, you’ll see the Rancher dashboard with several key sections:Cluster Management
View and manage all your Kubernetes clusters from a centralized location.
Continuous Delivery
Deploy applications using GitOps workflows with Fleet.
Apps & Marketplace
Browse and deploy applications from Helm charts.
User Settings
Configure authentication, API keys, and user preferences.
Step 4: Create Your First Cluster
Navigate to Cluster Management
From the main dashboard, click on Cluster Management in the left sidebar.
Click 'Create' to Add a Cluster
You’ll see several options for creating clusters:
- Custom - Register existing Kubernetes clusters
- RKE2/K3s - Provision new clusters
- Cloud Providers - Create clusters on AKS, EKS, or GKE
- Import - Import existing clusters
Choose Your Cluster Type
For a quick start, select Custom to explore the local cluster that Rancher creates automatically:
The “local” cluster is where Rancher Server itself runs. In development environments, you can use this cluster to deploy test workloads.
Step 5: Deploy Your First Workload
Create a Deployment
- Navigate to Workload > Deployments
- Click Create
- Choose a name (e.g., “nginx-demo”)
- Set the container image to
nginx:latest - Configure port 80
- Click Create
Expose the Deployment
Create a service to access your deployment:
- Navigate to Service Discovery > Services
- Click Create
- Select your deployment
- Choose service type (e.g., NodePort)
- Click Create
Next Steps
Congratulations! You’ve successfully deployed Rancher and created your first workload. Here’s what to explore next:Production Installation
Learn how to deploy Rancher for production with high availability
Cluster Provisioning
Provision new Kubernetes clusters on various platforms
Authentication Setup
Configure external authentication providers
GitOps with Fleet
Deploy applications using GitOps workflows
Troubleshooting
Can't access Rancher UI
Can't access Rancher UI
Check if the container is running:View container logs:Verify ports are not in use:
Certificate warnings
Certificate warnings
Rancher uses self-signed certificates by default. For development, you can safely bypass the browser warning. For production, configure proper SSL/TLS certificates.
Forgot admin password
Forgot admin password
If you lose your admin password, you can reset it using the Rancher container:
Performance issues
Performance issues
Ensure your system meets the minimum requirements:
- 4GB RAM minimum (8GB recommended)
- 2 CPU cores minimum
- Sufficient disk space for images and data