Skip to content

Instantly share code, notes, and snippets.

@tchartron
Last active July 4, 2020 09:55
Show Gist options
  • Save tchartron/0fb1ae0447e3398ac28035c8c4a68b3c to your computer and use it in GitHub Desktop.
Save tchartron/0fb1ae0447e3398ac28035c8c4a68b3c to your computer and use it in GitHub Desktop.
Install docker and docker-compose on raspberry pi
#Docker
curl -sSL https://get.docker.com | sh
sudo usermod -aG docker pi
sudo su - pi
docker version
docker run hello-world
#Docker compose
sudo apt-get install -y libffi-dev libssl-dev
sudo apt-get install -y python3 python3-pip
sudo pip3 install docker-compose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment