Skip to content

Install Docker in Raspberry Pi OS

Install Docker

$ curl -fsSL -o
$ chmod +x ./
$ sudo sh
$ sudo systemctl to enable Docker

Include a Non-Root Account to the Docker Group

$ sudo usermod -aG docker ${USER}
$ sudo usermod -aG docker ${USER}

Check whether it’s running:

$ groups ${USER}

Install Docker-Compose

$ sudo apt-get install libffi-dev libssl-dev
$ sudo apt install python3-dev
$ sudo apt-get install -y python3 python3-pip
$ sudo pip3 install docker-compose


  • [1]