How to Install Docker on Debian 12 | 4 Easy Methods

Channel:
Subscribers:
13,900
Published on ● Video Link: https://www.youtube.com/watch?v=IREsL8H5s50



Duration: 0:00
243 views
3


In this step-by-step tutorial, we'll walk you through 4 different ways to install Docker on your Debian 12 system. Whether you're a beginner or an experienced user, you'll find a method that fits your workflow!

Commands Used in the Video:

sudo apt install gnupg apt-transport-https ca-certificates curl

curl -fsSL htts://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker.gpg (PART OF https removed add)

echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker.gpg] htts://download.docker.com/linux/debian bookworm stable" | sudo tee /etc/apt/sources.list.d/docker.list /dev/null (PART OF https removed add and greater than symbol also removed before /dev/null)

sudo apt install docker-ce docker-ce-cli containerd.io

curl -fsSL htts://get.docker.com -o get-docker.sh PART OF https removed add)

sudo usermod -aG docker ${USER