Install Docker in your Ubuntu - Debian - Raspberry Pi, Fedora

Install Docker in your Ubuntu - Debian - Raspberry Pi, Fedora
Photo by Sigmund / Unsplash

Docker is really awesome, and nowadays it is essential for almost any development project, for a full-stack developer it is a key skill.

so, to install it in your Linux - Debian the easiest way is to use the official script:

wget https://get.docker.com -O get-docker.sh
Docker install official install script

after getting the script you should execute as root:

sudo sh get-docker.sh
run the script as sudo

you should create the docker group:

sudo groupadd docker
sudo usermod -aG docker $USER
create docker group

with those commands, you will be able to run docker without sudo.

IMPORTANT: don't forget to restart your terminal session to apply changes to your user.

and that is all.