Skip to content

Instantly share code, notes, and snippets.

@eff-kay
Last active March 12, 2020 12:53
Show Gist options
  • Save eff-kay/aff5f16ac2d10d6c833c525d98590156 to your computer and use it in GitHub Desktop.
Save eff-kay/aff5f16ac2d10d6c833c525d98590156 to your computer and use it in GitHub Desktop.
#!/bin/bash
sudo apt update
sudo apt 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 bionic stable"
sudo apt update
apt-cache policy docker-ce
sudo apt install docker-ce
sudo systemctl status docker
id -nG
#sudo usermod -aG docker ${USER}
#su - ${USER}
#id -nG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment