A Docker development environment that facilitates running WordPress websites on Docker
- git
- composer
- docker
- docker-compose
$ git clone https://github.com/alexberce/docker-wp.git
$ cp .env-example .env
Change the variables from the .env file to match your configuration
$ docker-compose up -d
This is the only solution I've found to install WordPress core, plugins and themes after the containers are created. Feel free to submit a PR if you figure out a better solution
Commands:
$ docker-compose ps
$ docker-compose stop
$ docker-compose stop {container-name}
$ docker-compose down
$ docker-compose exec {container-name} bash