Skip to content

Instantly share code, notes, and snippets.

@aweijnitz
Last active June 27, 2023 20:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aweijnitz/66cb1f001c48fa9c9a5e04ccac38acaf to your computer and use it in GitHub Desktop.
Save aweijnitz/66cb1f001c48fa9c9a5e04ccac38acaf to your computer and use it in GitHub Desktop.
install docker on raspberry pi
#!/bin/bash
# from https://pimylifeup.com/raspberry-pi-docker/
# Step 1 - Update and upgrade
sudo apt update && sudo apt upgrade -y
# Step 2 - Install docker
curl -sSL https://get.docker.com | sh
# Enable current user to run docker
sudo usermod -aG docker $USER
echo "Logging out. Re-login to finish install. Verify with 'docker run hello-world'"
logout
sudo apt install docker-compose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment