Docker

From Athenaeum
Revision as of 13:37, 13 January 2019 by James8562 (talk | contribs) (Docker Install)

Jump to: navigation, search


Docker Install

  1. curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
  2. echo "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable" > /etc/apt/sources.list.d/docker.list
  3. aptitude update
  4. For Kubernetes: aptitude install docker-ce=17.03.2~ce-0~ubuntu-xenial    or    For latest stable: curl -s https://api.github.com/repos/docker/docker-ce/releases/latest | jq -r ".name"
  5. aptitude hold docker-ce
  6. usermod -a -G docker $USER