In recent years, a growing number of companies have moved their server applications from virtual machines (VM) to containers. According to coscale.com, the number of Dockerized applications has grown 3100% over the last 2 years. This huge success is due in part to the fact that containers require far less resources compared to traditional VMs. For this reason, in this episode of #HackOnTuesday we will learn how to install the most popular container engine on our favorite Linux distribution, Kali.
Here are the steps to install Docker on Kali. First, we have to run apt-get update, then install a server for managing and downloading OpenPGP certificates, ca-certificates and enable APT to access metadata and packages over HTTPS.
apt-get install -y apt-transport-https ca-certificates
apt-get install dirmngr
After that, we can add the appropriate PGP key.
And, add the appropriate Docker source entry.
When that’s done, re-run apt-get.
At this point, to install Docker simply type:
Once the installation is finished, start the docker service with:
To verify that docker is working properly, type:
If everything goes well, you should see the following output.
And if something goes wrong, may god have mercy on your soul. Just kidding! Leave a comment and we will try to help you out.