Skip to content

Latest commit

 

History

History
45 lines (34 loc) · 715 Bytes

install_docker_rpi.md

File metadata and controls

45 lines (34 loc) · 715 Bytes

Install Docker and docker compose on Raspberry Pi

Docker

Update and upgrade your system

sudo apt-get update && sudo apt-get upgrade
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh

Add the pi user to the docker group

sudo usermod -aG docker pi

You need to log out and then back in to aply this last change

Check docker is ok

docker run hello-world

Pip

Install required system lib

sudo apt-get install python3-distutils python3-dev libssl-dev libffi-dev

Install pip

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo python3 get-pip.py

Docker compose

Install compose

sudo pip3 install docker-compose