Skip to content

Commit

Permalink
script to install docker
Browse files Browse the repository at this point in the history
  • Loading branch information
shadjac committed Jan 15, 2019
1 parent b18b79c commit 51ee8c2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions install-docker.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
sudo apt-get update -y
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
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

0 comments on commit 51ee8c2

Please sign in to comment.