What started as an experiment with an aging laptop evolved into a portable infrastructure environment, a 13-part technical series, a downloadable build guide, and a publicly available Kali Linux Docker toolkit.
Introduction: One Last Chapter
When I started the Data Center in a Bag project, I had a relatively simple objective: build a portable server environment using hardware I already owned.
I wanted something I could travel with, use for infrastructure experimentation, and continue expanding as I learned new technologies.
The foundation was a 2019 HP laptop with 16 GB of RAM and a 1 TB hard drive. It wasn’t enterprise-grade hardware, and it certainly wasn’t the fastest equipment available.
But that was part of the challenge.
Instead of purchasing a dedicated server, I wanted to see how far I could take a system that was already sitting around.
What followed was an ongoing experiment involving virtualization, Linux administration, Docker, networking, monitoring, remote access, and eventually cybersecurity testing.
Over the previous twelve installments, I documented the process of building and expanding the environment, including the challenges that came with running multiple workloads on limited hardware.
For this final installment, I’m closing out the series with something I hadn’t originally planned: the public release of the HBTECHSOLUTIONS Kali PenTest Toolkit v1.0.0.
But getting there involved much more than uploading a few files to GitHub.
How the Travel Kit Evolved
At its core, the project was designed around portability and resource efficiency.
Proxmox VE became the virtualization platform, allowing me to run multiple workloads without relying on separate physical machines.
As the environment evolved, it included:
- Proxmox VE: The primary virtualization platform running the travel kit.
- Ubuntu Server: A Docker host for containerized applications and supporting services.
- Debian Linux: Lightweight networking and infrastructure services.
- Linux Mint: A graphical Linux environment accessed remotely.
- GL.iNet Opal: A portable router providing a dedicated networking environment.
- Firezone: Secure remote connectivity to selected resources.
- Docker and Portainer: Deployment and management of containerized services.
- AdGuard Home: DNS-based filtering.
- Uptime Kuma: Monitoring for hosted services.
- Additional containers: Applications and services used for experiments and everyday utility.
The objective wasn’t to recreate a production data center on a laptop. It was to create an accessible environment where I could understand how infrastructure components worked together.
There were limitations.
With 16 GB of memory and a mechanical hard drive, I had to consider resource allocation, storage performance, and which applications actually needed a complete virtual machine.
This led me to lean more heavily on containers for workloads that didn’t require a dedicated operating system.
That decision eventually helped shape the security testing portion of the project.
Introducing Kali Linux
As I continued preparing for the CompTIA PenTest+ certification, I wanted an environment where I could practice the tools being introduced throughout my training.
Rather than deploy another full graphical virtual machine, I decided to build a custom Kali Linux Docker container.
The requirements were straightforward:
- Provide a command-line Kali Linux environment.
- Include useful reconnaissance and security assessment utilities.
- Preserve files and configuration between container recreations.
- Support remote administration.
- Connect to controlled Docker networks for authorized lab testing.
- Make the configuration repeatable through a Dockerfile and Docker Compose.
The resulting toolkit included utilities such as Nmap, SQLmap, Nikto, Recon-ng, and other tools commonly used during reconnaissance and network enumeration.
Persistent Docker volumes were configured to retain user files and SSH host keys.
Initially, the container was intended only for my own travel kit.
But after working through the configuration and expanding the available tools, I started considering whether the environment could be useful to someone else.
That was when I decided to turn it into a public project.
From a Personal Container to a Reusable Toolkit
A container that works in your own environment isn’t necessarily ready for someone else to deploy.
My original configuration included networking and deployment assumptions specific to the travel kit.
To make the toolkit reusable, I needed to separate the common components from environment-specific settings.
I created a public GitHub repository containing the Dockerfile, startup script, Docker Compose examples, security documentation, and deployment instructions.
Two Compose configurations were included.
Local deployment: A simpler configuration that builds the image and creates its own Docker networks and persistent volumes.
Advanced deployment: A configuration that supports existing Docker networks, static IP addresses, and key-based SSH authentication.
The project also includes example environment settings and ignore rules to help prevent local secrets from accidentally entering the repository or Docker build context.
This separation was important because I wanted users to be able to deploy the toolkit without recreating my entire network topology.
GitHub Repository:
https://github.com/iireddrag0nii/kali-pentest-toolkit
Building a CI/CD Pipeline with GitHub Actions
Publishing the repository was only the beginning.
The next objective was to determine whether the image could be built independently of the system where it was originally developed.
I configured GitHub Actions to automatically build the Docker image using the publicly available source files.
The first build succeeded.
I then expanded the workflow to perform runtime checks, including verifying security tools, testing SSH configuration, and confirming that the container started successfully.
Those tests also passed.
However, I learned that a successful Docker build and basic automated validation didn’t necessarily mean the image would behave identically on another machine.
That became obvious during independent testing.
Testing on Dragon: Finding a Real Compatibility Issue
To verify that the toolkit could be deployed outside the travel kit, I cloned the repository onto another Docker server in my environment, named Dragon.
Dragon was running Docker Engine 29.9.3 and Docker Compose v5.7.1.
The image built successfully, and the container started.
But when I attempted to execute Nmap, the command failed:
/usr/bin/nmap: 6: exec: /usr/lib/nmap/nmap: Operation not permitted
Nmap was installed. The container was running. The build had succeeded.
Yet one of the most important tools in the image couldn’t execute.
After inspecting the executable, I identified a Linux capability mismatch.
The Nmap binary requested CAP_NET_ADMIN, which wasn’t available within the container’s permitted capability set.
Rather than grant the entire container additional networking privileges solely to address the problem, I tested a more restrictive solution by modifying Nmap’s executable capabilities.
The working correction was:
RUN setcap cap_net_raw,cap_net_bind_service+eip /usr/lib/nmap/nmap
Nmap executed successfully after the change.
I added the correction to the Dockerfile, rebuilt the image, and recreated the container. Nmap continued to work without requiring a manual fix.
I then updated GitHub Actions so that the workflow actually executes Nmap instead of merely checking whether its executable exists.
That was probably the most valuable lesson from the release process: a successful build doesn’t guarantee a functional application.
Independent runtime testing uncovered something our initial checks missed.
Validating Persistence, SSH, and Networking
After fixing Nmap, I continued testing the toolkit on Dragon.
Persistent Storage
The local Docker Compose configuration uses named volumes for the root user’s files, the Kali user’s home directory, and SSH host keys.
I created a test file in /home/kali, recreated the container, and verified that the file was still present.
The test passed.
I also calculated a SHA-256 hash of the container’s ED25519 SSH host private key, recreated the container again, and compared the hash.
It remained unchanged, confirming that the SSH host identity persisted across container recreation.
SSH Security
The active SSH server configuration was checked to confirm:
- Root SSH login was disabled.
- Password authentication was disabled.
- Public-key authentication was enabled.
These settings help establish safer defaults for remote administration.
Network Configuration
The local deployment includes separate management and lab Docker networks.
The lab network was verified as an internal Docker network, while the management network provided connectivity through a separate interface.
It’s worth noting that an internal lab network does not automatically make a dual-homed container completely isolated from external networks.
That distinction is documented in the repository so users understand the deployment model.
Reviewing the Repository for Security Issues
Before distributing the toolkit publicly, I reviewed the repository for accidentally committed secrets and sensitive configuration.
This included inspecting tracked files, Git history, environment settings, private-key patterns, and credential-related strings.
I also ran Gitleaks against the repository history.
The scan covered ten commits and reported no detected leaks.
While an automated scan can’t guarantee that every possible secret has been identified, the result provided an additional layer of assurance alongside the manual review.
The advanced Docker Compose configuration was also revised to use SSH public-key authentication by default and avoid granting unnecessary networking capabilities.
Publishing v1.0.0 to GitHub Container Registry
With the image building successfully and the deployment tests passing, the final technical objective was distribution.
I created a second GitHub Actions workflow that builds, validates, and publishes a versioned Docker image when a release tag is pushed.
For the first release, I created the tag v1.0.0.
The publishing pipeline passed, and the image was uploaded to GitHub Container Registry (GHCR).
I then downloaded the published image onto Dragon and verified that Nmap executed successfully from the downloaded image.
The GHCR package was confirmed as public, and the official GitHub Release was published.
The toolkit is now available as a versioned Docker image.
Download the Kali PenTest Toolkit
docker pull ghcr.io/iireddrag0nii/kali-pentest-toolkit:1.0.0
To verify Nmap:
docker run --rm \
--entrypoint nmap \
ghcr.io/iireddrag0nii/kali-pentest-toolkit:1.0.0 \
--version
For full deployment instructions, including Docker Compose, persistent volumes, and network configuration, refer to the GitHub README.
GitHub Repository:
https://github.com/iireddrag0nii/kali-pentest-toolkit
Official v1.0.0 Release:
https://github.com/iireddrag0nii/kali-pentest-toolkit/releases/tag/v1.0.0
The toolkit is intended for authorized penetration testing, security education, and lab environments.
Lessons Learned
Looking back at the complete Data Center in a Bag project, several lessons stand out.
1. You don’t need expensive hardware to learn infrastructure engineering.
A repurposed laptop provided an environment for hands-on virtualization, Linux administration, Docker, networking, security, and automation.
2. Resource limitations encourage better architecture decisions.
Working within 16 GB of RAM meant considering which services required virtual machines and which could run efficiently in containers.
3. Documentation makes projects repeatable.
Turning experiments into technical articles and deployment instructions helped create something other people could follow.
4. Independent testing matters.
The Nmap capability issue demonstrated why testing an application on a separate host is important, even when automated builds succeed.
5. Automation improves consistency.
GitHub Actions now provides repeatable build validation and versioned image publishing.
6. A personal homelab can become a public technical contribution.
The Kali toolkit started as a component of my travel server and evolved into an open-source project.
The Complete Data Center in a Bag Build Guide
For readers interested in building a similar portable infrastructure environment, I’ve also prepared a downloadable Data Center in a Bag Build Guide.
The guide consolidates the project into a structured technical reference covering the environment, deployment approach, and practical considerations.
It complements the individual articles by providing a more direct path through the build process.
Download the Complete Data Center in a Bag Build Guide (PDF)
The final website publication will link this to the guide hosted on the HBTECHSOLUTIONS homepage.
Readers can also explore the complete thirteen-part article series through the dedicated Data Center in a Bag project page.
What’s Next?
Although this is the final installment of the Data Center in a Bag series, the environment itself will continue evolving.
The travel kit will remain part of my homelab, providing a portable platform for infrastructure experimentation and security education.
The Kali PenTest Toolkit may receive additional tools, improvements, and compatibility fixes. Those changes will be documented through the GitHub repository and future releases rather than extending this article series indefinitely.
The original objective was to make better use of hardware I already owned and build something practical.
Thirteen installments later, that idea has become a portable virtualized environment, an extensive technical project series, a downloadable guide, and a publicly distributed Docker security toolkit.
Closing Thoughts
When I started this series, I wasn’t planning to release an open-source security toolkit.
I was simply trying to see what I could build using an older laptop, a travel router, and a little creativity.
There were hardware limitations, networking problems, performance challenges, and plenty of troubleshooting along the way.
But those challenges were part of the learning process.
What makes this project meaningful to me isn’t the number of containers or virtual machines running on the system.
It’s the experience gained from building the environment, understanding why certain things worked or failed, documenting the process, and eventually turning part of the project into something that others can use.
Thirteen parts later, the Data Center in a Bag series is complete.
The learning certainly isn’t.
Thanks for following along throughout the journey.
HBTECHSOLUTIONS — Learn. Build. Test. Document.