Skip to content

Instantly share code, notes, and snippets.

@aofry
aofry / docker-ce-ubuntu-install.sh
Created July 3, 2017 18:09 — forked from daqing/docker-ce-ubuntu-install.sh
Install Docker-CE on ubuntu
sudo apt update
sudo apt-get -y install \
apt-transport-https \
ca-certificates \
curl
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 \
$(lsb_release -cs) \
stable"