Skip to main content
Support

KB Article #189120

Docker installation on Debian 12 Linux Server

Problem

How to install ultimate Docker version on Debian 12 Linux server for Automator Core Services (Cockpit / Supervision)


Resolution

With "root" user (add 'sudo' before each command with another system user).

PS: the Debian Server need an internet access to download docker installation package on specified repository


# Add Docker's official GPG key:

apt-get update


apt-get install ca-certificates curl gnupg


install -m 0755 -d /etc/apt/keyrings


curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg


chmod a+r /etc/apt/keyrings/docker.gpg


# Add the repository to Apt sources:
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/debian $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null

apt-get update


When asked, you have to confirm by 'y' (or 'o' in french) the mandatory packages to install


# Docker Installation with all the needed plugins

apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

....

When asked, you have to confirm by 'y' (or 'o' in french) the packages to install


# When installation finished, you can verify that Docker is well installed and functional with those commands:

service docker status

docker version


# If all is OK, you can proceed now with Core Services 4.1 UPx normal installation