Prerequisites

Check the requirements for installing Docker Desktop before you can proceed.

1. Update your system packages

sudo apt update

2. Install required packages

sudo apt -y install apt-transport-https ca-certificates curl software-properties-common

3. Download Docker GPG Key

curl -fsSL https://download.docker.com/linux/debian/gpg | \
sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/docker-archive-keyring.gpg

4. Add Docker Repository

echo \
"deb [arch=amd64] https://download.docker.com/linux/debian bullseye stable" | \
 sudo tee /etc/apt/sources.list.d/docker.list

5. Update your system packages again

sudo apt update

6. Install Docker

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

7. Start Docker service

sudo systemctl start docker

8. Add your user to the Docker group

sudo usermod -aG docker $USER

9. Download Docker Desktop Package

Warning: The latest known working version of Docker Desktop is reported to be 4.23.0. However, using a version higher than 4.23.0 might cause issues, including potential damage to your Docker setup. I strongly recommend against installing a version beyond 4.23.0. If you choose to do so, be aware that it may adversely affect your Docker environment

wget https://desktop.docker.com/linux/main/amd64/docker-desktop-4.23.0-amd64.deb

10. Install Docker Desktop Package

Warning: Latest confirmed stable Docker Desktop version is 4.23.0. Installing a version higher than 4.23.0 may cause issues and potentially damage your Docker setup. I strongly advise against installing versions beyond 4.23.0, as it can adversely affect your Docker environment

sudo apt install ./docker-desktop-4.23.0-amd64.deb

11. Start Docker Desktop service (user level)

systemctl --user start docker-desktop

12. Enable Docker Desktop service (user level)

systemctl --user enable docker-desktop

13. Stop Docker Desktop service (user level)

systemctl --user stop docker-desktop

Summary

These commands guide you through installing Docker on a Debian-based system. They cover updating packages, adding the Docker APT repository, installing Docker components, starting Docker services, and managing Docker Desktop at the user level. Ensure to check system requirements before proceeding.

Screenshot.png