Skip to main content
For development, testing, or proof-of-concept environments, Rancher can be installed on a single node using Docker. This simplified installation method runs Rancher directly in a Docker container without requiring a Kubernetes cluster.
Single-node installations are NOT recommended for production use. Use high availability deployment for production workloads.

Quick Start

The fastest way to get Rancher running:
Open your browser to https://localhost to access Rancher.

Prerequisites

Operating System Requirements

Supported operating systems:
  • Ubuntu 20.04+, 22.04+
  • RHEL/CentOS 7.x, 8.x, 9.x
  • SLES 15 SP2+
  • Debian 10+, 11+
  • Rocky Linux 8+, 9+
  • Oracle Linux 7.x, 8.x, 9.x
Refer to the Support Matrix for specific OS versions for each Rancher version.

Hardware Requirements

Minimum requirements:
  • 2 vCPUs
  • 4 GB RAM
  • 20 GB disk space
Recommended for testing:
  • 4 vCPUs
  • 8 GB RAM
  • 50 GB disk space

Software Requirements

  • Docker 20.10+ or higher
  • Internet connectivity (for image downloads and updates)

Installation

Advanced Configuration

Using a Specific Version

Specify a particular Rancher version:

Persistent Data Storage

Mount a volume to persist Rancher data:
This ensures data survives container restarts and upgrades.

Custom SSL Certificates

Use your own SSL certificates:

Private CA Certificates

If using certificates from a private CA:

Behind a Proxy

Configure proxy settings:

Air-Gapped Installation

For environments without internet access:

Container Management

View Logs

View Rancher container logs:

Stop Rancher

Stop the Rancher container:

Start Rancher

Restart a stopped container:

Remove Rancher

Completely remove Rancher:
To also remove data:

Upgrading Single-Node Installation

Limitations

Single-node Docker installations have several limitations:
  • No high availability - Single point of failure
  • No automatic failover - Downtime during host failures
  • Limited scalability - Cannot scale beyond one node
  • Manual upgrades - No rolling updates
  • No Kubernetes integration - Does not leverage Kubernetes features
  • Not production-ready - Not covered under Rancher Support SLA
For production use, migrate to a Kubernetes-based installation with high availability.

Resource Requirements by Use Case

Development/Testing

  • Managing 1-5 clusters
  • 2 vCPUs, 4 GB RAM, 20 GB disk

Demo/POC

  • Managing 5-15 clusters
  • 4 vCPUs, 8 GB RAM, 50 GB disk
  • Managing 15-50 clusters
  • 8 vCPUs, 16 GB RAM, 100 GB disk
  • Consider migrating to HA deployment

Troubleshooting

Container Won’t Start

Check logs for errors:
Common issues:
  • Port conflicts (80/443 already in use)
  • Insufficient permissions
  • Docker daemon not running

Cannot Access UI

Verify container is running:
Check firewall rules:

Performance Issues

Check container resource usage:
Increase host resources if CPU or memory is constrained.

Best Practices

  • Use persistent volumes (-v /opt/rancher:/var/lib/rancher) to preserve data
  • Set --restart=unless-stopped to survive reboots
  • Regularly backup the /var/lib/rancher directory
  • Pin to a specific version tag for reproducibility
  • Use SSL certificates from a trusted CA for production-like testing
  • Monitor resource usage and scale host resources as needed
  • Test upgrades in a separate environment first

Next Steps