-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLinuxMint-Install
More file actions
20 lines (20 loc) · 1.07 KB
/
LinuxMint-Install
File metadata and controls
20 lines (20 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
1. Remove Old Versions (All Mint versions)
sudo apt-get remove docker docker-engine docker.io containerd runc
2. Set Up the Docker Repository
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 apt-key fingerprint 0EBFCD88 # Optional but recommended
3. Add the Correct Docker Repository Based on Your Mint Version
For Mint 17.x: Qiana, Rebecca, Rafaela, Rosa
(Based on Ubuntu 14.04 - Trusty)
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu trusty stable"
For Mint 18.x: Sarah, Serena, Sonya, Sylvia
(Based on Ubuntu 16.04 - Xenial)
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable"
For Mint 19.x: Tara, Tessa, Tina, Tricia
(Based on Ubuntu 18.04 - Bionic)
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
4. Install Docker Engine
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io