Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# 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