Install Rancher on DigitalOcean

July 29, 2019

1 min read

Instructions

  1. Start by creating a brand new droplet on DigitalOcean. Create a droplet with 4GB of RAM. Make sure you select Ubuntu 18.09 (LTS).
  2. SSH into the droplet to install Docker
  3. Install rancher
curl https://releases.rancher.com/install-docker/19.03.sh | sh
  1. Point your DNS records for rancher.\$DOMAIN.com to your rancher droplets IP

    • Its a good idea to use a floating IP for your rancher droplet
  2. Install and start rancher

docker run -d --restart=unless-stopped \
              -p 80:80 -p 443:443 rancher/rancher:stable \
              --acme-domain rancher.$DOMAIN.com
  1. Go to rancher.$DOMAIN.com and set up a new password

Screencast

Resources

Get More!