Last active
August 23, 2023 08:07
-
-
Save zongwu233/7ff53bf4f0a7541950d01830c05c5b97 to your computer and use it in GitHub Desktop.
ubuntu install docker
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
sudo apt update && apt upgrade -y | |
sudo apt remove docker docker-engine docker.io | |
sudo apt install docker.io -y | |
sudo systemctl start docker | |
sudo systemctl enable docker | |
docker run hello-world |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
use apt instead of apt-get