Looking for an outofthebox wordpress install with wordpress-cli I tried this:
https://zerowp.com/wordpress-and-docker/
Just two little quirks
- WORDPRESS_TABLE_PREFIX: wp\_ instead of just wp_
- and user id = 33 missing
which I found in
https://stackoverflow.com/questions/50999848/how-to-run-wp-cli-in-docker-compose-yml
root@ubuntu:\~/wp# docker-compose run --rm wpcli db export
Before:
...
Running 0.0s mariadb-dump: Can't create/write to file ... "Permission denied"
After:
...
Success: Exported to 'wp-app-2025-07-24-f885306.sql'.

