Skip to content

Instantly share code, notes, and snippets.

@coseos
Created July 28, 2022 07: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 coseos/bb69464a0ad6efdf203def4a947a6a7a to your computer and use it in GitHub Desktop.
Save coseos/bb69464a0ad6efdf203def4a947a6a7a to your computer and use it in GitHub Desktop.

Docker on Raspberry Pi 4

It's so simply to use Docker on the Raspberry Pi. All you have to do is:

sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt-get install docker.io

sudo usermod -aG docker pi

sudo systemctl reboot

To verify that Docker is available:

docker version

docker info

docker run hello-world

Have fun with Docker on your Raspberry Pi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment