This guide walks you through cloning the kali-docker
repository, building the Docker image using the provided Dockerfile, entering the container, and also running binaries without manually entering it.
- Docker installed on your system (Docker Installation).
Run the following command to clone the kali-docker
repository:
git clone https://github.com/k4rkarov/kali-docker.git
Navigate to the cloned repository directory:
cd kali-docker
Build the Docker image using the provided Dockerfile:
docker build -t your_image_name:tag .
Run and enter the newly created container:
docker run -it --name your_container your_image_name:tag
If you want to run binaries without entering the container, you can use the following command:
docker run --rm your_container binary_name binary_arguments
If desired, you can stop and remove the container when no longer needed:
docker stop your_container
docker rm your_container