Created
August 1, 2019 09:56
-
-
Save sergeymsui/b7a0675c2d89155ac5816e64a9289343 to your computer and use it in GitHub Desktop.
Install Docker CE on Linux Mint 19.1 Tessa
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 | |
## Uninstall old versions | |
sudo apt-get remove docker docker-engine docker.io containerd runc | |
## Install Docker CE | |
sudo apt-get update | |
# install packages to allow apt to use a repository over HTTPS: | |
sudo apt-get install apt-transport-https ca-certificates curl gnupg-agent software-properties-common | |
# add Docker’s official GPG key: | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
# set up the stable repository | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable" | |
sudo apt-get update | |
# install the latest version of Docker CE and containerd | |
sudo apt-get install docker-ce docker-ce-cli containerd.io |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment