Update content.md
This commit is contained in:
parent
b771d6961d
commit
cd1b0ff876
|
|
@ -80,3 +80,9 @@ Mount the volume containing your themes or plugins to the proper directory; and
|
|||
See [the "Running as an arbitrary user" section of the `php` image documentation](https://hub.docker.com/_/php/).
|
||||
|
||||
When running WP-CLI via the `cli` variants of this image, it is important to note that they're based on Alpine, and have a default `USER` of Alpine's `www-data`, whose UID is `82` (compared to the Debian-based WordPress variants whose default effective UID is `33`), so when running `%%IMAGE%%:cli` against an existing Debian-based WordPress install, something like `--user 33:33` is likely going to be necessary (possibly also something like `-e HOME=/tmp` depending on the `wp` command invoked and whether it tries to use `~/.wp-cli`). See [docker-library/wordpress#256](https://github.com/docker-library/wordpress/issues/256) for more discussion around this.
|
||||
|
||||
## Configuring PHP directives
|
||||
|
||||
See [the "Configuration" section of the `php` image documentation](https://hub.docker.com/_/php/).
|
||||
|
||||
Additionally you could create a `custom.ini` with the desired parameters and place it in the `$PHP_INI_DIR/conf.d/` directory.
|
||||
|
|
|
|||
Loading…
Reference in New Issue