Install Docker in Kali Linux:

First we update Kali:

sudo apt update

Then we use apt to install Docker in Kali:

This step might take awhile, since it downloads roughly 273MB of data to run Docker.

sudo apt install -y

Finally, we start the Docker daemon:

sudo systemctl enable docker --now

After that, to use Docker from the Kali command line, here are some examples:

docker pull PackageName

docker run --it PackageName:latest

Run a docker container with COLOR in the Terminal (common for OSINT / pentesting programs):

docker run ---ty PackageName


The docker daemon is set to run on boot by default in Debian-based Linux distrubtions and Ubuntu.