Skip to content

Instantly share code, notes, and snippets.

@jamesbjackson
Last active August 10, 2019 13:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamesbjackson/079954ec37fc59d7f10a2c106c3eba95 to your computer and use it in GitHub Desktop.
Save jamesbjackson/079954ec37fc59d7f10a2c106c3eba95 to your computer and use it in GitHub Desktop.

Rancher Single Server Install

Install Docker

sudo apt-get update
sudo apt-get -y install apt-transport-https ca-certificates curl software-properties-common 
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
apt-cache policy docker-ce
sudo apt-get install -y docker-ce=18.06.3~ce~3-0~ubuntu
sudo docker run hello-world

Installing Rancher Server

sudo docker run -d --restart=unless-stopped -p 80:80 -p 443:443 rancher/rancher:latest --acme-domain rancher.connectedproducts.io
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment