Skip to content

Instantly share code, notes, and snippets.

@hirofumihida
Created October 18, 2018 11:30
Show Gist options
  • Save hirofumihida/f784b66cf83440740eff696931246559 to your computer and use it in GitHub Desktop.
Save hirofumihida/f784b66cf83440740eff696931246559 to your computer and use it in GitHub Desktop.
rancher create memo

  1. Create Rancher host
  • ubuntu 16.04 LTS
  • latest docker

https://docs.docker.com/v17.09/engine/installation/linux/docker-ce/ubuntu/

sudo apt-get udpate

sudo apt-get 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

sudo apt-get install docker-ce

sudo docker run hello-world
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment