Install prerequisites
Install Docker on your computer.
Install Docker on Linux and Raspberry Pi
Docker has a script to install Docker on Debian, Ubuntu, and Raspberry Pi OS. Run this script using the following command.
curl -fsSL https://get.docker.com -o get-docker.sh && sudo sh get-docker.sh
Review the Manage Docker as a non-root user document.
Grant the current user Docker rights
sudo usermod -aG docker $USER
Reboot the system.