Docker Featured

How to Run Kali Linux 2.0 In Docker Container


Kali Linux is a well known operating system for security testers and ethical hackers. It comes bundled with a large list of security related applications and make it easy to perform penetration testing. Recently, Kali Linux 2.0 is out and it is being considered as one of the most important release for this operating system. On the other hand, Docker technology is getting massive popularity due to its scalability and ease of use. Dockers make it super easy to ship your software applications to your users. Breaking news is that you can now run Kali Linux via Dockers; let’s see how  :)

Running Kali Linux 2.0 In Docker

Related Notes

If you don’t have docker installed on your system, you can do it by using the following commands:

For Ubuntu/Linux Mint/Debian:

 sudo apt-get install docker 

For Fedora/RHEL/CentOS:

 sudo yum install docker 

For Fedora 22:

 dnf install docker 

You can start docker service by running:

 sudo docker start 

First of all make sure that docker service is running fine by using the following command:

 sudo docker status 

Kali Linux docker image has been uploaded online by Kali Linux development team, simply run following command to download this image to your system.

 docker pull kalilinux/kali-linux-docker 

Pull Kali Linux docker

Once download is complete, run following command to find out the Image ID for your downloaded Kali Linux docker image file.

 docker images 

Kali Linux Image ID

Now run following command to start your kali Linux docker container from image file (Here replace Image ID with correct one).

 docker run -i -t 198cd6df71ab3 /bin/bash 

It will immediately start the container and will log you into the operating system, you can start working on Kali Linux here.

Kali Linux Login

You can verify that container is started/running fine, by using the following command:

 docker ps 

Docker Kali


Dockers are the smartest way to deploy and distribute your packages. Kali Linux docker image is pretty handy, does not consume any high amount of space on the disk and it is pretty easy to test this wonderful distro on any docker installed operating system now.

Please follow and like us: