-
-
Save sethbergman/9ef9d14aef86ba7705791785ed377f69 to your computer and use it in GitHub Desktop.
Install Docker CE on Linux Mint 19
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
#!/usr/bin/env bash | |
set -e | |
# https://docs.docker.com/engine/install/ubuntu/ | |
sudo apt-get -y install apt-transport-https ca-certificates curl software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - 2>/dev/null | |
sudo echo "deb [arch=amd64] https://download.docker.com/linux/$(lsb_release -is | tr '[:upper:]' '[:lower:]') bionic stable" > /etc/apt/sources.list.d/docker.list | |
sudo apt-get -y update | |
sudo apt-get -y install docker-ce docker-ce-cli containerd.io | |
# https://docs.docker.com/compose/install/ | |
sudo curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose | |
sudo chmod +x /usr/local/bin/docker-compose | |
# https://docs.docker.com/install/linux/linux-postinstall/ | |
sudo groupadd docker | |
sudo usermod -aG docker $USER |
I've updated this gist to resolve issues based on the comments above.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If anyone like me using 19.3 tricia release of Mint, and having problems with error
"Malformed input, repository not added."
visit ( https://forums.linuxmint.com/viewtopic.php?t=300469 ).
The answer provided by " Diydavid" would do the trick.
Gracias