Last active
March 4, 2019 13:31
-
-
Save agirorn/3c4f62d3c76e1dc45a4806aa8bad50df to your computer and use it in GitHub Desktop.
Install Docker on linux mint
This file contains hidden or 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
#!/usr/bin/env bash | |
# | |
# Install Docker on Linux Mint 19 | |
# | |
# Based on | |
# | |
# https://docs.docker.com/install/linux/docker-ce/ubuntu/ | |
# https://stackoverflow.com/questions/52545945/docker-install-on-linux-mint-19-tara | |
# | |
set -e | |
sudo apt-get remove docker docker-engine docker.io | |
sudo apt-get update | |
sudo apt-get install \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg-agent \ | |
software-properties-common | |
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 $(. /etc/os-release; echo bionic;) stable" | |
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment