WordPress container with Nginx 1.28 & PHP-FPM 8.4 based on Alpine Linux
100K+
Lightweight WordPress container with Nginx 1.28 & PHP-FPM 8.4 based on Alpine Linux.
WordPress version currently installed: 6.9.5

I can help you with Containerization, Kubernetes, Monitoring, Infrastructure as Code and other DevOps challenges.
This image follows the Debian versioning convention for tagging: <wordpress-version>-<container-revision>
Available tags:
latest - Latest stable release<major>.<minor>.<patch>-<revision> - Full version (e.g., 6.8.1-1, 6.8.1-2)
6.8.1) tracks the WordPress version included-1, -2) indicates container updates (security patches, dependency updates, configuration changes)<major>.<minor>.<patch> - Latest container revision for a WordPress version (e.g., 6.8.1 → 6.8.1-2)<major>.<minor> - Latest patch and revision (e.g., 6.8 → 6.8.1-2)<major> - Latest minor, patch and revision (e.g., 6 → 6.8.1-2)For production use, pin to a specific full version tag (e.g., trafex/wordpress:6.8.1-1) to ensure reproducible deployments and controlled updates.
See docker-compose.yml how to use it in your own environment.
docker-compose up
Or
docker run -d -p 80:80 -v /local/folder:/var/www/wp-content \
-e "DB_HOST=db" \
-e "DB_NAME=wordpress" \
-e "DB_USER=wp" \
-e "DB_PASSWORD=secret" \
-e "FS_METHOD=direct" \
trafex/wordpress
This image includes wp-cli which can be used like this:
docker exec <your container name> /usr/local/bin/wp --path=/usr/src/wordpress <your command>
Content type
Image
Digest
sha256:75a5cc1a8…
Size
79.2 MB
Last updated
12 days ago
docker pull trafex/wordpress