From f5811e8caba4ea30222d814623fa1582ce40860b Mon Sep 17 00:00:00 2001 From: name Date: Thu, 4 Jun 2020 21:42:21 +0000 Subject: [PATCH] Ubuntu Docker install info --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index 68c4272..6ce51cb 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,34 @@ docker start $(docker ps -q --all --filter "ancestor=docker-osx") ``` +# Docker install + +If you don't have Docker already + +``` +### Arch (pacman version isn't right at time of writing) + +wget https://download.docker.com/linux/static/stable/x86_64/docker-19.03.5.tgz +tar -xzvf docker-*.tgz +sudo cp docker/* /usr/bin/ +sudo dockerd & +sudo groupadd docker +sudo usermod -aG docker $USER +# run docker later +sudo nohup dockerd & + +### Ubuntu + +apt-get remove docker docker-engine docker.io containerd runc -y +apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common -y +curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - +apt-key fingerprint 0EBFCD88 +add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" +apt-get update -y +apt-get install docker-ce docker-ce-cli containerd.io -y + +``` + # Backup the disk your image will be stored in: