Jan 14, 2019

Setup Kali Linux in Docker within a minutes!


Hello Guys you are already known to Docker. If not please look my previous post on Docker. Today in this post i am only concentrate on setting up Kali Linux in just a minute.

Once Docker is installed on your system. lets install Kali Linux on it. For this just follow the following steps.
  1. Open your favorite command line interface (CLI) with admin privilege and  Then type "docker pull kalilinux/kali-linux-docker". This will pull the image from the Docker Store as shown in below screen shot.
  2. Now, let you enter an interactive bash session with that image by typing "docker run -t -I kalilinux/kali-linux-docker /bin/bash". Wow Kali minimal Kali Linux is installed.

  3. You are now in your fresh install of Kali. Since this install is meant to be the minimal, you need to grab the packages you actually care about. This helps keep the image small but does require a good Internet connection to get up and running.

    Before installing any package, let's upgrade our Kali Linux and remove all packages we no longer need via "apt update && apt full-upgrade && apt auto-remove && apt-autoclean".

  4. Now use can use any packages of kali and use it.




No comments:

Popular Posts