Skip to content

Installation

PentestPad self-hosted runs as a Docker Compose stack. Installation is four commands.

  • 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
Terminal window
git clone https://github.com/PentestPad/pentestpad-docker
cd pentestpad-docker
Terminal window
docker login repository.pentestpad.com

Use the credentials PentestPad gave you. This log-in is shared with the update process — one login covers all future updates.

Terminal window
./init.sh

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

Terminal window
./manage.sh start

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

Terminal window
./manage.sh doctor
Zero-downtime update rollout

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.

After git pull on pentestpad-docker, a bare pull doesn’t take effect on its own — follow it with one of:

Terminal window
./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