Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save vicente-gonzalez-ruiz/fa3c7724750ec0837818ad8b337bba50 to your computer and use it in GitHub Desktop.
Save vicente-gonzalez-ruiz/fa3c7724750ec0837818ad8b337bba50 to your computer and use it in GitHub Desktop.

Just follow: https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository

  1. (Optional) Run Docker's daemon at boot time.
# Enable:
sudo systemctl enable docker.service
sudo systemctl enable containerd.service

# Disable:
sudo systemctl disable docker.service
sudo systemctl disable containerd.service
  1. (Optional) Remove:
sudo apt-get purge docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-ce-rootless-extras
sudo rm -rf /var/lib/docker
sudo rm -rf /var/lib/containerd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment