


Run the following commands to pull the most recent Kali Linux Docker Image, create the Docker Container and start /bin/bash in that container:ĭocker run -ti kalilinux/kali-linux-docker /bin/bash Update Kali LinuxĪfter running the commands above, you’ll be at the /bin/bash prompt. This article assumes you already have Docker installed and running. Offensive Security has created a kalilinux/kali-linux-docker bare bones image, which is what we’ll use to get started. You can still run it on Windows, but it will use more overhead than Linux and macOS. If you’re running Docker on Linux or macOS, it requires less resources than a full blown virtual machine.

Most of the popular Kali Linux pentest tools are command-line based and don’t require a GUI, which makes Docker an excellent alternative. Docker is a great alternative to virtualization, especially in the case of Linux if you don’t need a GUI.
