Works with the AI Agents you already use

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

    by Percio Andrade Castelo Branco

    1

    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.

    $39

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

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

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

    Example session with this skill installed

    Deploy a cPanel & WHM dev lab in /opt/docker-cpanel on my Linux machine using srv.cpanel.lab as the hostname. Bind ports to 0.0.0.0 and generate a secure root password.

    • Read your context and instructions
    • Compiled the cpanel & whm

    I have completed the preflight checks and deployed the AlmaLinux 8 cPanel & WHM lab environment with native systemd support.

    📋 Deployment Summary

    • Target Directory: /opt/docker-cpanel
    • Container Name: cpanel-server
    • Hostname: srv.cpanel.lab
    • Init System: /usr/sbin/init (systemd PID 1 with cgroups v2)
    • Initial Wizard Status: Automatically bypassed (EULA accepted & completed)

    🌐 Service Endpoints

    🔑 Credentials & Persistent Volumes

    • User: root
    • Root Password: Saved securely in /opt/docker-cpanel/.env (chmod 600)
    • Persisted Volumes: cpanel_usr (/usr/local/cpanel), cpanel_etc (/etc), cpanel_var (/var), cpanel_home (/home), cpanel_opt (/opt), cpanel_logs (/var/log)

    🚀 Next Steps

    1. Access WHM at https://<host-ip>:2087/ and log in with your root credentials directly to the Jupiter dashboard.
    2. Verify WHM API locally: docker exec cpanel-server /usr/local/cpanel/bin/whmapi1 version
    3. Live edit plugins on host volume: docker volume inspect cpanel_usr

    Connects securely to your tools. The creator never sees your data.

    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 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

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 11 days ago

    Accounts
    Cpanel
    Software
    Docker Engine 20.10+Docker Compose V2Linux host (Debian/Ubuntu/AlmaLinux/RHEL)2 vCPU, 4 GB RAM, 25 GB free disk
    Optional
    cPanel Trial
    orActive license

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

    Permissions

    Terminal / Shell
    Network Access
    Read Files
    Write Files

    Allowed Hosts

    securedownloads.cpanel.net

    File Scopes

    /opt/docker-cpanel/*
    ./docker-compose.yaml
    ./.env

    Creates and manages the isolated Docker Compose lab directory with persistent cPanel volumes.

    Listed11 days ago

    What's inside

    Frequently Asked Questions

    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.

    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.

    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.

    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.

    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.

    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.

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

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

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

    New in DevOps & Cloud

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.