Skip to content

Instantly share code, notes, and snippets.

@zongwu233
Last active August 23, 2023 08:07
Show Gist options
  • Save zongwu233/7ff53bf4f0a7541950d01830c05c5b97 to your computer and use it in GitHub Desktop.
Save zongwu233/7ff53bf4f0a7541950d01830c05c5b97 to your computer and use it in GitHub Desktop.
ubuntu install docker
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
@zongwu233
Copy link
Author

use apt instead of apt-get

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment