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. 🙂

 

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.

Next, 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. 😉

 

Leave a Reply

Your email address will not be published. Required fields are marked *