Last active
June 27, 2023 20:38
-
-
Save aweijnitz/66cb1f001c48fa9c9a5e04ccac38acaf to your computer and use it in GitHub Desktop.
install docker on raspberry pi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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