This tutorial provides step-by-step instructions for how to install Docker on a Raspberry Pi.
It's pretty easy to develop and run apps in containers, isn't it?
Several commands to install Docker and docker-compose on a RPi. Using Raspberry Pi and ARM¶ Use arkade to install OpenFaaS, it will determine the correct files and container images to install OpenFaaS on an ARM device. To build and deploy images for Raspberry Pi and ARM, see the notes here: Building multi-arch images for ARM and Raspberry Pi. For a complete tutorial (including OpenFaaS) see. Piping to bash is a controversial topic, as it prevents you from reading code that is about to run on your system. If you would prefer to review the code before installation, we provide these alternative installation methods.
Install Docker itself via script from the official site.
Add permission to Pi User to run Docker Commands if it is necessary. Reboot RPi or recreate terminal session afterwards.
sudo usermod -aG docker pi
Check docker version to make sure the installation was successful.
Install python dependencies for docker-compose
sudo apt-get install -y libffi-dev libssl-dev python3 python3-dev python3-pip
Install Docker Compose
Now you can use
One-Step Automated Install¶
Those who want to get started quickly and conveniently may install Pi-hole using the following command:
bash is a controversial topic, as it prevents you from reading code that is about to run on your system.
If you would prefer to review the code before installation, we provide these alternative installation methods.
Alternative 1: Clone our repository and run¶
Alternative 2: Manually download the installer and run¶
Alternative 3: Use Docker to deploy Pi-hole¶
Install Docker On Pi Os
Please refer to the Pi-hole docker repo to use the Official Docker Images.