Skip to main content

WP Docker CLI – WordPress + Docker Project Generator

wp-docker is a cross-platform CLI tool that generates a fully configured WordPress + Docker development environment in seconds.

It automatically:

  • Creates a new project directory
  • Generates .env with random free ports
  • Downloads the latest WordPress
  • Installs and activates a custom theme
  • Generates secure WordPress salts
  • Prepares Docker + phpMyAdmin

Requirements

macOS / Linux

  • Python 3.9+
  • Docker + Docker Compose
  • Git

Windows

  • Python 3.9+
  • Docker Desktop (with WSL2 enabled)
  • Git

Verify:

python3 --version
docker --version
git --version

Installation

macOS / Linux

python3 -m pip install --upgrade pip
python3 -m pip install wp-docker

If pip is not found:

python3 -m ensurepip --upgrade

Windows (PowerShell)

python -m pip install --upgrade pip
python -m pip install wp-docker

Usage

Create a new project:

wp-docker init "My WordPress Project"

Access URLs

After installation:

Service URL
WordPress http://localhost:PORT
phpMyAdmin http://localhost:PORT

Docker Management

Start containers:

make up

Stop containers:

make down

View logs:

docker compose logs -f

Uninstall

python3 -m pip uninstall wp-docker

License

MIT License


Author

Created by Jacek Labudda

Metadata

Release files for wp-docker 0.1.35

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wp-docker 0.1.35
File Size Uploaded Provenance
wp_docker-0.1.35.tar.gz 1.0 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for wp-docker 0.1.35
File Interpreter ABI Platform
wp_docker-0.1.35-py3-none-any.whl Python 3 none any Details

Total release size: 2.1 MB

Release files / wp_docker-0.1.35.tar.gz

Download URL wp_docker-0.1.35.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
89e38a1b8f457a3150ae5cc0dd4903ca1e10d7258c072a24ae54525069be7384
BLAKE2b-256 checksum
How to use checksums
1f6d9ac7be840ea24e3032714e629ae796d3a4d42abdbc097ba4b6daa3338bf4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / wp_docker-0.1.35-py3-none-any.whl

Download URL wp_docker-0.1.35-py3-none-any.whl
Size 1.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
be81e66db958c2a2c4c108dc1733d284afdd39963a305ecb62e2e5a4b6491036
BLAKE2b-256 checksum
How to use checksums
e8fb9ea2fb86a3738ffd34f32b1fc8b7a18b61de641c9badc9942d26d2ac930b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Security for wp-docker 0.1.35

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page