Last active
January 18, 2019 17:12
-
-
Save thinkycx/b40b523eef4b2fad5ac3a06b24373011 to your computer and use it in GitHub Desktop.
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
# docker 20190119 | |
# ref: https://docs.docker.com/install/linux/docker-ce/ubuntu/ | |
sudo apt-get update -y | |
sudo apt-get install \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg2 \ | |
software-properties-common -y | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo apt-key fingerprint 0EBFCD88 | |
sudo add-apt-repository \ | |
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \ | |
$(lsb_release -cs) \ | |
stable" | |
sudo apt-get update | |
sudo apt-get install docker-ce -y | |
# docker.io is an old version of docker | |
# sudo apt-get install docker.io -y | |
sudo service docker start | |
sudo usermod -aG docker $(whoami) | |
sudo apt-get install git -y | |
sudo apt-get install net-tools -y # ifconfig | |
sudo apt-get install htop -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment