Last active
September 20, 2021 12:28
-
-
Save code-yeongyu/33bb5e41780d14a0c746f986b4775e29 to your computer and use it in GitHub Desktop.
Install Docker on Ubuntu
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
sudo apt update | |
sudo apt-get install apt-transport-https ca-certificates curl gnupg lsb-release -y | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg | |
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null | |
sudo apt update | |
sudo apt-get install docker-ce docker-ce-cli containerd.io -y | |
sudo apt upgrade -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment