Sample Wordpress docker-compose for local development
- wordpress@latest: running in http://localhost:8080
- phpmyadmin/phpmyadmin: running in http://localhost:8888
- [email protected]
Clone this repository
git clone https://github.com/liemlylac/wordpress-docker-compose
change dir to wordpress-docker-compose
cd wordpress-docker-compose
Pull docker image and start container
docker-compose up
Ctl
+ C
to stop running container when you are attaching
Start all container without attach
docker-compose up -d
Stop all running container
docker-compose stop
Stop all running container
docker-compose stop
Stop and delete all container
docker-compose down
OS: Windows 10 1909 (build 18363.657) Docker: 19.03.5 (build 633a0ea) Docker Compose: 1.25.4 (build 8d51620a) Docker Desktop: 2.2.0.3 (build 42716)