A toolkit to generate customized Docker images preloaded with selected penetration testing and red teaming tools.
Customized docker images generation toolkit
This tool is designed for penetration testers and red teamers who need quick access to specific security tools without installing them locally. It allows users to create disposable or reusable Docker images containing only the tools they require, streamlining their workflow and avoiding system clutter.
Requires Docker and Go installed on the host system for building from source; pre-built binaries are planned to ease installation. Using Docker containers helps avoid cluttering the host system with multiple security tools. Users should ensure Docker daemon is running and have sufficient permissions to build and run containers.
Install Docker from https://www.docker.com
Install Go programming language from https://golang.org
Clone the repository: git clone https://github.com/tuxotron/docker-image-generator
Change directory: cd docker-image-generator
Build the binary: make build
Alternatively, download the compiled binary from the latest release page
Make the binary executable: chmod +x doig-xxx
Move the binary to a directory in your PATH: sudo mv doig-xxx /usr/local/bin/doig
./doig -u
Updates the toolset to the latest available tools.
./doig -l
Lists all available tools and categories alphabetically.
./doig -d -t nmap sqlmap wfuzz
Generates and prints a Dockerfile that includes the specified tools.
./doig -i mytools -t nmap sqlmap wfuzz
Builds a Docker image named 'mytools' containing the specified tools.
docker run -it --rm mytools
Runs the created Docker image interactively and removes the container after use.