Skip to content

Commit c58ca89

Browse files
authored
Merge pull request #1346 from wglambert/master
Add how to include pre-installed themes/plugins for WordPress
2 parents 81e3a06 + e8302ac commit c58ca89

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

wordpress/content.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,13 @@ The following Docker Hub features can help with the task of keeping your depende
6969
- [Automated Builds](https://docs.docker.com/docker-hub/builds/) let Docker Hub automatically build your Dockerfile each time you push changes to it.
7070
- [Repository Links](https://docs.docker.com/docker-hub/builds/#repository-links) can ensure that your image is also rebuilt any time `%%REPO%%` is updated.
7171

72+
## Include pre-installed themes / plugins
73+
74+
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.
75+
76+
- Themes go in a subdirectory in `/var/www/html/wp-content/themes/`
77+
- Plugins go in a subdirectory in `/var/www/html/wp-content/plugins/`
78+
7279
## Running as an arbitrary user
7380

7481
See [the "Running as an arbitrary user" section of the `php` image documentation](https://hub.docker.com/_/php/).

0 commit comments

Comments
 (0)