Skip to content

Instantly share code, notes, and snippets.

@jhowbhz
Last active April 9, 2024 17:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jhowbhz/60e72d5c04c1b584723a092254f59b88 to your computer and use it in GitHub Desktop.
Save jhowbhz/60e72d5c04c1b584723a092254f59b88 to your computer and use it in GitHub Desktop.
Install docker ubuntu 22.04
sudo apt update && sudo apt install apt-transport-https ca-certificates curl software-properties-common &&
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg &&
echo "deb [arch=$(dpkg --print-architecture) 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 && apt update -y
sudo apt install docker-ce -y
sudo systemctl status docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment