
Now let’s check if everything with our new Docker installation works properly.

In addition, you can check the Docker service status using the following: sudo systemctl is-active docker Check the status of the Docker service. That’s all! Docker should now be installed the service started and enabled to start automatically on boot.
#INSTALL DOCKER DEBIAN INSTALL#
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin Install Docker on Debian 12 (Bookworm). To install the latest up-to-date Docker release on Debian, run the below command. Step 4: Install Docker on Debian 12 (Bookworm)
#INSTALL DOCKER DEBIAN UPDATE#
sudo apt update Update the package base.Īs you can see, our new Docker repository is now available and ready to be used. echo "deb bookworm stable" | sudo tee /etc/apt//docker.list > /dev/null Add the official Docker repository to Debian 12.Īs with the previous command, its execution produces no output. Step 3: Add the Docker Repo to Debian 12Īfter importing the GPG keys, we’ll add the official Docker repository to our Debian 12 system. This implies that the update package will be made available with the rest of your system’s regular updates if a new version is released. Notice that the command produces no output. curl -fsSL | sudo gpg -dearmor -o /usr/share/keyrings/docker.gpg Add Docker’s GPG repo key. This security feature ensures that the software you’re installing is authentic. Next, import the Docker GPG repository key to your Debian system. Sudo apt install apt-transport-https ca-certificates curl gnupg Step 2: Add Docker’s GPG Repo Key Step 1: Install Prerequisitesįirst, run the two commands below to update the package index and install the prerequisite necessary to add and use a new HTTPS repository. This approach guarantees you always get the latest up-to-date version and will automatically receive all future software updates as they become available.
#INSTALL DOCKER DEBIAN HOW TO#
However, one disadvantage to this approach is that the version available is not always the most recent.įor this reason, I will show you how to install Docker on Debian 12 from the official Docker repository. It is available in the official Debian repositories, where it can be easily installed with a single APT command.

There are several ways you can install Docker on your Debian 12 system. So let’s dive in! Installing Docker on Debian 12

Whether you’re a beginner or an experienced user, our easy-to-follow instructions will ensure a smooth installation. In this article, we’ll walk you through the step-by-step process of installing Docker on Debian 12 (Bookworm), empowering you to take advantage of its powerful features.

Get started with our comprehensive guide.ĭocker has revolutionized software development and deployment, providing a lightweight and efficient containerization solution. Learn step-by-step how to install Docker on Debian 12 and unlock the power of containerization.
