With this, we have successfully installed Docker on Kali Linux 2020.4, in my next article, I will run you through how to use docker with an example. Since the image “hello-world” is not available locally yet, docker will pull the image. Finally, we are verifying that the installation has been successful and is working as intended, we do so by running the following command. We enable docker to start automatically on system start (optional)ĩ. After this, we are now ready to start dockerĨ. Now, we install docker, we use the -y flag to avoid having to answer with y later when prompted during the installationħ. # apt remove docker docker-engine docker.ioĦ. ![]() This step is only needed if you had previous versions installed, if so, we now terminate any previously installed versions This can be done using a standard apt-get command. Due to the image being trimmed down, in order to install Metasploit you will need to apt-get it. At this time, we are starting with the actual installation of docker, for this, we start by running an apt update again, and we will see that it is getting the info from the docker repository we addedĥ. Installing Metasploit on Kali Linux Docker. ![]() # $ echo ‘deb buster stable’ | tee /etc/apt//docker.listĤ. Now we are going to add the docker rep to apt configuration Next, we are going to get the official PGP Keys of dockerģ. Before we start with the installation, personally, i made it a practice to always update your sourcesĢ.There are many repositories from where you can get container images, is just one of them. With Docker, you can also easily transfer your containers, the containers include everything needed to run the application you installed. Docker acts as a run-time container for all tools. Kali is a great Distro for penetration testing, however, there are so many tools that it does not cover or include by default. In this article, I will show you how to install docker and get it running, in less than 10 minutes. I will not go much into what docker is or does, just as much, docker is a container platform, it enables you to run certain tools or applications. Docker has been very popular among the penetration testing community for a while now.
0 Comments
Leave a Reply. |