How to install docker on raspberry Pi (or another OS!)

curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh

The command as well as used be as installing onto another operating system such as Ubuntu.
In R-pi, the easy way to install docker is actually that way.

Then you type to check if docker is installed: sudo docker

If You’d like to run docker commands without sudo, follow following instruction.

## option : without sudo

sudo groupadd docker
sudo gpasswd -a $USER docker
newgrp docker # or logout and re-login to take effect.
docker ps # check if no-sudo docker


Articles maybe related

No releted article found.

Close Menu