![]() ![]() This can be done using a standard “ apt-get” command. First thing I am going to run an update.ĭue to the image been trimmed down, to utilize something like “ Metasploit” you will need to install it. This should then change the command line to be the command line from “ Kali“. Once completed we can then run the image which will load the image into its container and then give me a command prompt for the “ Kali Linux” instance.ĭocker run -t -i kalilinux/kali-linux-docker /bin/bash This will pull down the image of “ Kali Linux” to a “ Docker” container This is really easy using the following three commands. So how do we get Kali Linux on our new “Droplet”? This returns us nothing at the moment, once we have images it will list them. For now let’s focus on images by running the following command. Next we can run commands to display the containers and images that we have. ![]() This will return the current version of “ Docker“. Once we are in we can run the following simple command: You are asked to reset the password sent at first login, make sure you use a decent and complicated one (have to say that). Now I can either connect using the web page or SSH into the “ Droplet“. Now we need to connect to the “ Droplet” which you can do once you get the email that it has been created along with the root username and password needed. Once it loads you should see the configuration options that are available in the web user interface. Once we have it set we simply choose to create it which according to the site should be 60 seconds. ![]() Next we need to select the operating system for the image as well as select from the applications what we need which is “ Docker“. ![]() Once you have an account simply click to create a Droplet.įor this “ Droplet” I am going to call it “ Docker” and then use the $5 a month image. Well first lets spin up a host we can use, for this I am going to use DigitalOcean. Now Kali Linux is a great tool for penetration and security testing and normally requires a full Virtual Machine to work, however using Docker I can create a single Host and run multiple application and images. Containers allow segmentation of applications and as such means that I can spin up an Ubuntu image and then run different applications each isolated and protected. Well for one it allows us to create a template for an application that can be almost spun up in a controlled container easily. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |