Merge pull request #1346 from wglambert/master
Add how to include pre-installed themes/plugins for WordPress
This commit is contained in:
commit
c58ca899b6
|
|
@ -69,6 +69,13 @@ The following Docker Hub features can help with the task of keeping your depende
|
||||||
- [Automated Builds](https://docs.docker.com/docker-hub/builds/) let Docker Hub automatically build your Dockerfile each time you push changes to it.
|
- [Automated Builds](https://docs.docker.com/docker-hub/builds/) let Docker Hub automatically build your Dockerfile each time you push changes to it.
|
||||||
- [Repository Links](https://docs.docker.com/docker-hub/builds/#repository-links) can ensure that your image is also rebuilt any time `%%REPO%%` is updated.
|
- [Repository Links](https://docs.docker.com/docker-hub/builds/#repository-links) can ensure that your image is also rebuilt any time `%%REPO%%` is updated.
|
||||||
|
|
||||||
|
## Include pre-installed themes / plugins
|
||||||
|
|
||||||
|
Mount the volume containing your themes or plugins to the proper directory; and then apply them through the wp-admin webui. Ensure read/write/execute permissions are in place for the user.
|
||||||
|
|
||||||
|
- Themes go in a subdirectory in `/var/www/html/wp-content/themes/`
|
||||||
|
- Plugins go in a subdirectory in `/var/www/html/wp-content/plugins/`
|
||||||
|
|
||||||
## Running as an arbitrary user
|
## Running as an arbitrary user
|
||||||
|
|
||||||
See [the "Running as an arbitrary user" section of the `php` image documentation](https://hub.docker.com/_/php/).
|
See [the "Running as an arbitrary user" section of the `php` image documentation](https://hub.docker.com/_/php/).
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue