WordPress with SQLite, ready to use out of the box.
- Based on official image, Easier and more sustainable solution.
- DockerHub Page: https://hub.docker.com/r/soulteary/sqlite-wordpress
- WordPress SQLite Docker image packaging details
- WordPress farewell to MySQL: Docker SQLite WordPress
You can download GitHub's clean and secure docker image using the following command:
# use latest
docker pull soulteary/sqlite-wordpress
# use specify version
docker pull soulteary/sqlite-wordpress:6.5.3
Use the following command to quickly launch the wordpress with port 8080
:
docker run --rm -it -p 8080:80 -v `pwd`/wordpress:/var/www/html soulteary/sqlite-wordpress
You can also use docker compose to start wordpress:
version: '3'
services:
wordpress:
image: soulteary/sqlite-wordpress:6.5.3
restart: always
ports:
- 8080:80
volumes:
- ./wordpress:/var/www/html
Save the file as docker-compose.yml
and then execute docker compose up
, then use browser access to localhost:8080
.
Use the quick 1-minute initial installation, enjoy.