Install
Docker and Docker Compose
How to install Docker and Docker Compose in diferent distributions
Debian Based
Update System:
sudo apt update && sudo apt upgradeRaspberry
Install the kernel headers for the operating system. This is important, because if you don't install the kernel headers, Docker won't work. To install the kernel headers, simply run the following command:
sudo apt install raspberrypi-kernel raspberrypi-kernel-headersInstall Docker
curl -sSL https://get.docker.com | shAdd user permission:
sudo usermod -aG docker $USER
OR
sudo usermod -aG docker piApply Updates:
sudo rebootAfter Reboot:
docker versionLast updated