Created
September 3, 2018 13:23
-
-
Save paulcdb/c8c9afc576b24432386a124de7fef939 to your computer and use it in GitHub Desktop.
I like the instructions on the digitalocean.com but got tired of having to copy each command so put them all in a script that can be downloaded and run.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Script for Unbuntu 18.04 | |
# Once done, you should just be able to type docker... etc. | |
sudo apt update | |
sudo apt install apt-transport-https ca-certificates | |
curl software-properties-commoncurl -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 | |
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