WordPress Docker Image

Minimalist WordPress container with NGINX 1.10 & PHP-FPM 7.0 on Alpine Linux

Active Pure Nim score 65/100 · last commit 2026-05-29 · 1 stars · tests present · no docs generated

Summary

Latest Version Unknown
License Unknown
CI Status Failing
Stars 1
Forks 1
Open Issues 0
Last Commit 2026-05-29
Downloads 0
Last Indexed 2026-08-12 05:10

Installation

nimble install WordPress Docker Image
choosenim install WordPress Docker Image
git clone https://gitlab.com/wp-id/docker/wordpress

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
WordPress Docker Image - - - - - - - - -

README

WordPress Docker Container

WordPress on PHP-FPM 8.2

WordPress version currently installed: 6.5.3

Usage

wget https://gitlab.com/wp-id/docker/wpc/raw/master/config/nginx.conf
mkdir -p data/db && \
mkdir -p data/wp-content/uploads && \
docker run -d \
    --name=wordpress_db \
    -e MYSQL_ROOT_PASSWORD=password \
    -e MYSQL_DATABASE=wordpress \
    -e MYSQL_USER=wordpress \
    -e MYSQL_PASSWORD=wordpress \
    -v `pwd`/data/db:/var/lib/mysql \
    mariadb && \
docker run -d \
    --name=wordpress \
    --link wordpress_db \
    -e DB_HOST=wordpress_db \
    -e DB_NAME=wordpress \
    -e DB_USER=wordpress \
    -e DB_PASSWORD=wordpress \
    -e SMTP_HOST=smtp.example.com \
    -e SMTP_PORT=587 \
    -e SMTP_PASS=yourapplicationpassword \
    -e SMTP_USER=yourusername@example.com \
    -e SMTP_PASS=yourapplicationpassword \
    -v `pwd`/data/wp-content:/var/www/wp-content \
    wpid/wordpress && \
docker run -d \
    --name=wordpress_web \
    --link wordpress \
    -p "80:80" \
    -v `pwd`/config/nginx.conf:/etc/nginx/nginx.conf:ro \
    --volumes-from wordpress \
    nginx:alpine

...or take a look at WordPress Compose.

NOTES

  • If provided, SMTP_HOST, SMTP_PORT, SMTP_USER & SMTP_PASS will be used to create msmtp config for sending out emails (eg. for password reset, comment notification, etc).
  • If you need V8JS extension, use wpid/wordpress:v8js image instead.