Installing Docker on an existing operating system is easy. You need just some packages and add Docker repository in your repos.
Make sure that you are running following commands with a sudo user or root. First update your system.
This command will add Docker repository to your system and download the latest version. “sh” at the end will install downloaded package.
curl -fsSL https://get.docker.com/ | sh
Now we can enable Docker daemon for next boots, start the service then use it !
systemctl enable docker
systemctl start docker
You are ready to use Docker. By the time I will write new articles about how to use it, commands, how to create new containers, networking and so on…