diff --git a/install-docker.sh b/install-docker.sh new file mode 100644 index 0000000..879c01d --- /dev/null +++ b/install-docker.sh @@ -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