Created
September 9, 2025 16:00
-
-
Save mentix02/3b4175279bd26c28b9d2f833ee960c9d to your computer and use it in GitHub Desktop.
A portable kali Docker setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM kalilinux/kali-rolling | |
| # Avoid interactive prompts during install | |
| ENV DEBIAN_FRONTEND=noninteractive | |
| # Update + install common CTF tools | |
| RUN apt-get update && apt-get install -y \ | |
| kali-tools-top10 \ | |
| kali-tools-web \ | |
| kali-tools-wireless \ | |
| kali-tools-passwords \ | |
| kali-tools-exploitation \ | |
| kali-tools-forensics \ | |
| kali-tools-reverse-engineering \ | |
| kali-tools-social-engineering \ | |
| netcat-traditional \ | |
| curl wget git vim tmux python3 python3-pip \ | |
| && apt-get clean | |
| # Default workdir inside container | |
| WORKDIR /root/kalivol |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| build: | |
| mkdir -p ~/Desktop/VMs/kalivol | |
| docker build -t kali-ctf . | |
| run: | |
| mkdir -p ~/Desktop/VMs/kalivol | |
| docker run -it --name kaliCTF -v ~/Desktop/VMs/kalivol:/root/kalivol kali-ctf bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment