Photo by Praveen Thirumurugan on Unsplash
original post: https://baxin.netlify.app/how-to-install-docker-raspberry-pi/
Install Docker on Raspberry Pi
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
Add user to the docker group
sudo gpasswd -a $USER docker # Add user to the docker group
newgrp docker # Refresh the group membership
Verify Docker Installation
This command checks that Docker has been successfully installed on your Raspberry Pi.
docker --version
Docker version 27.4.1, build b9d17ea
Hello World
This command runs a test container to verify Docker is working properly.
docker container run --rm hello-world
Top comments (0)