Installation
PentestPad self-hosted runs as a Docker Compose stack. Installation is four commands.
Prerequisites
Section titled “Prerequisites”- A Linux host with Docker 24+ and the Docker Compose plugin
- Registry credentials from PentestPad (
admin+<tenant>and a token) - Your license key, from your PentestPad account at cloud.pentestpad.com or the email we sent you
- See system requirements for sizing
Install
Section titled “Install”1. Clone the repository
Section titled “1. Clone the repository”git clone https://github.com/PentestPad/pentestpad-dockercd pentestpad-docker2. Log in to the private registry
Section titled “2. Log in to the private registry”docker login repository.pentestpad.comUse the credentials PentestPad gave you. This log-in is shared with the update process — one login covers all future updates.
3. Run the installer
Section titled “3. Run the installer”./init.shinit.sh is interactive on a fresh install. It prompts for:
- Admin display name, email, and password
- Database password
- Mail delivery settings (SMTP or Mailgun)
It generates a per-install encryption key, prepares the config files, and writes everything to .env.
Then put your license key in LICENSE_KEY in .env:
LICENSE_KEY=<your license key>You can also leave it empty and paste the key on the activation page after the first start. See Licensing.
4. Start the stack
Section titled “4. Start the stack”./manage.sh startFirst boot can take a few minutes while images download and the database initialises. When it’s done, PentestPad
is available at https://localhost (or whatever APP_URL you set in step 3).
Verify everything is healthy:
./manage.sh doctorUpdating
Section titled “Updating”Two equivalent paths — pick either, both run the same rollout:
Sign in as an admin and open Administration → Updates. Click Update to latest version. The page shows live progress and the final version when the rollout finishes. No SSH, no shell.
./manage.sh updateZero-downtime rollout. Safe to re-run if interrupted.
After git pull on pentestpad-docker, a bare pull doesn’t take effect on its own — follow it with one of:
./manage.sh update # recommended: pull new images + reconcile./manage.sh restart # just reconcile against the new compose config./manage.sh start # if the stack is stopped