2 sudo apt
-y update
&& apt-get
-y upgrade
3 sudo apt
-y install git wget curl vim snapd lxd software-properties-common
4 sudo apt-get
install -y apt-transport-https ca-certificates
5 curl
-fsSL https
://download.docker.com
/linux
/ubuntu
/gpg | sudo apt-key add
-
6 sudo add-apt-repository
"deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
7 sudo apt-get
-qq update
8 sudo apt-get
install -y docker-ce
9 sudo groupadd
-f docker
10 sudo usermod
-aG docker
$USER