Last active
October 30, 2020 10:11
-
-
Save rvigneshw/743c2495f698d9f6e311073cad309e25 to your computer and use it in GitHub Desktop.
Single Script install of Docker on Ubuntu 20.04
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
echo "Removing Docker IF EXISTS" | |
sudo apt-get remove docker docker-engine docker.io containerd runc | |
echo "Getting Docker install Script" | |
curl -fsSL https://get.docker.com -o get-docker.sh | |
echo "Executing Docker install Script" | |
sudo sh get-docker.sh | |
echo "Getting Docker-compose" | |
sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | |
sudo chmod +x /usr/local/bin/docker-compose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Usage:
wget -O -https://gist.githubusercontent.com/rvigneshw/743c2495f698d9f6e311073cad309e25/raw/087e9f056f20b5f677bc9f16551a45430a5f8d47/docker-on-ubuntu.sh | bash