# cPanel & WHM Docker Dev Lab (AlmaLinux 8 Native systemd)

> One-click reproducible cPanel & WHM dev lab on AlmaLinux 8 Docker with native systemd PID 1, automated EULA bypass, 6 persistent named volumes, and whmapi1/uapi readiness.

cPanel & WHM Docker Dev Lab (AlmaLinux 8 Native systemd) is a paid AI agent skill on Agensi by Percio Andrade Castelo Branco, in DevOps & Cloud. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $39 (one-time purchase)
- Creator: [Percio Andrade Castelo Branco](https://www.agensi.io/creators/sr00t3d)
- Category: [DevOps & Cloud](https://www.agensi.io/skills/devops-cloud)
- Version: 1.0
- Last updated: 2026-11-24
- Security: scan passed (2026-11-24); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/cpanel-whm-docker-dev-lab-almalinux-8-native-systemd
- Tags: cpanel, whm, docker-compose, almalinux, devops, systemd, automation

## About this skill

### Turn any Docker host into a full cPanel & WHM development & testing lab in minutes.

Developing cPanel plugins, testing `whmapi1`/`uapi` automations, and verifying hosting scripts usually requires an expensive remote VPS or heavy virtual machines. **cPanel & WHM Docker Dev Lab** solves this by packaging an isolated, reproducible AlmaLinux 8 container engineered specifically for cPanel & WHM development workflows.

#### 🚀 Key Features
- **Native systemd as PID 1:** Fully compatible with Linux cgroups v2 (`cgroup: host` + `tmpfs` mounts), ensuring daemons (`cpsrvd`, MariaDB, Bind/DNS) start and operate seamlessly without breaking `systemctl`.
- **Automated First-Boot Unattended Installation:** Automatically pulls the official cPanel installer, resolves AlmaLinux minimal package conflicts, and sets up the server without manual prompts.
- **Instant Login & Automated EULA Bypass:** Pre-approves the EULA and marks the Initial Setup Wizard completed programmatically—no getting stuck in the Angular web wizard on first login.
- **6 Persistent Named Volumes:** Preserves `/usr/local/cpanel`, `/etc`, `/var`, `/home`, `/var/log`, and `/opt` across container recreations. You can mount `/usr/local/cpanel` into your local IDE for live plugin coding.
- **Built-in NAT & Trial Sync:** Automates `build_cpnat` and `cpkeyclt` for instant host IP binding and license verification.
- **Port Conflict Safeguards:** Cleanly maps WHM (`:2087`/`:2086`), cPanel (`:2083`/`:2082`), and allows flexible remapping of HTTP/SSH ports to prevent collisions with existing web servers.

## Requires

- Docker Engine 20.10+
- Docker Compose V2
- Linux host (Debian/Ubuntu/AlmaLinux/RHEL)
- 2 vCPU, 4 GB RAM, 25 GB free disk
- Optional: cPanel Trial or Active license

Runs on Linux with Docker & Compose V2. Requires privileged container mode to enable systemd PID 1 and cPanel network capabilities.

## Known limitations

Requires privileged mode and high system capabilities. Host needs 4GB+ RAM and 25GB+ disk. cPanel installation takes 15 to 45 minutes on first boot. Lab use only.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the cPanel & WHM Docker Dev Lab (AlmaLinux 8 Native systemd) skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What specific problem does this skill solve for cPanel developers?

This skill automates the complex setup of a cPanel/WHM environment inside Docker on AlmaLinux 8, solving common issues like systemd compatibility and NAT licensing that typically make manual containerization difficult.

### What exactly is included in the purchase of this skill?

The skill is delivered as a comprehensive package containing the necessary Docker Compose configurations, custom entrypoint scripts, and pre-configured environment templates required to boot the lab successfully.

### What are the hardware and system requirements for the host machine?

The host machine requires at least 4GB of RAM and 25GB of disk space; additionally, the Docker container must be run with privileged capabilities (SYS_ADMIN and NET_ADMIN) to allow systemd to function as PID 1.

### Will my data and cPanel configurations persist after I stop the container?

Yes, the skill is designed with six persistent named Docker volumes, ensuring that your configurations, home directories, and logs remain intact even if the container is stopped or restarted.

### Can I use this skill to host live production websites?

This lab is strictly for development and testing purposes (such as API validation or plugin building) and is not intended for production hosting due to the security implications of running in privileged Docker mode.

### How does the skill handle the initial networking and security setup?

The skill includes a preflight check that automatically generates a unique root password and validates your FQDN, ensuring the environment is secure and meets cPanel’s networking requirements right from the first boot.

### Does this container run with native systemd?

Yes. It boots /usr/sbin/init as PID 1 with cgroup: host and tmpfs mounts, fully compatible with modern cgroups v2 Linux hosts.

### Do I get stuck in the WHM Initial Setup Wizard?

No. The entrypoint programmatically accepts the EULA and marks /etc/.whostmgrft completed, taking you straight to the WHM dashboard.

### Can I live-edit cPanel plugins from my IDE?

Yes. /usr/local/cpanel is persisted in the cpanel_usr named Docker volume, allowing you to symlink or mount it into your workspace.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
