Source: How to Install Docker on Linux Mint 21: A Step-by-Step Guide
I found this guide to be concise and accurate as of July 2025 with a up to date LMDE 6.
Basically the commands are:
sudo apt install apt-transport-https ca-certificates curl gnupg
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu jammy stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt update
[NOTE: docker shows as source]sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
At this point you should be able tosudo docker run hello-world
add your user to the docker group so you do not need to sudo everything
sudo usermod -a -G docker $USER
Really?! Just coming back to look at this and… wow. This is absurd. THEY should be the ones dealing with all the certificate mumbo-jumbo… maintaining the sources list… including active repositories… Docker isn’t exactly fringe software, is it?
I repeat, this is absurd.
OH, and lets not let pass the fact that 90 DAYS HAVE PASSED since I wrote this and we are on a new major Linux-Mint release (v22) with a new Docker out there, and a new Debian base layer (v13). Three fucking months and everything is new. Linux is as stable as a red head.