It just happens these days that I had to reinstall my server and therefore I also wanted to install docker again. So I started searching for installing docker on ubuntu and found hundreds of sites explaining how to do it. On this sites you have to install prerequisites and after that you have to add the actual repository from docker, than add thes keys etc, etc…
Luckily I found a hint on one site to install docker with just one command. Thes should satisfy nearly 80% of the user whishing to install docker. The other ones feel free to search for the complete guides.
So the easiest way to install docker on a linux maschine is to use this command:
# curl -fsSL https://get.docker.com/ | sh
That’s it 🙂
If you also like to install docker-compose just use following:
# apt update
# apt install docker-compose