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
#!/bin/sh | |
echo "Starting docker community edition install..." | |
echo "Removing any old instances of docker and installing dependencies" | |
apt remove -y docker docker-engine docker.io containerd runc | |
apt update | |
apt install -y apt-transport-https ca-certificates curl gnupg-agent software-properties-common | |
echo "Dowloading latest docker and adding official GPG key" | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - |