Add a note about WP-CLI's "USER"
This commit is contained in:
parent
fcff6b90eb
commit
10ba46a559
|
|
@ -67,3 +67,5 @@ The following Docker Hub features can help with the task of keeping your depende
|
|||
## Running as an arbitrary user
|
||||
|
||||
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. See [docker-library/wordpress#256](https://github.com/docker-library/wordpress/issues/256) for more discussion around this.
|
||||
|
|
|
|||
Loading…
Reference in New Issue