..

Installing Docker on the Raspberry Pi

Quickly install Docker on the Raspberry Pi

  • Install Docker
    curl -sSL https://get.docker.com | sh

  • Grant permissions to the ‘pi’ user to run Docker commands
    sudo usermod -aG docker pi

  • Test Docker installation
    docker run hello-world

  • Install dependencies
    sudo apt install -y libffi-dev libssl-dev python3 python3-pip

sudo apt remove python-configparser

  • Install Docker Compose
    sudo pip3 install docker-compose

Reference