WP-CLI commands do not work in dev container #1440
Labels
bug
Bugs. For major ones, add "major".
scope: dev-infrastructure
Build scripts, IDE settings, CI, Docker dev stack, testing, tooling, etc.
Milestone
I tried following:
docker exec -it vpdev_wordpress_1 wp vp apply-changes
docker-compose exec wordpress wp vp apply-changes
Everytime it ends with error:
Error: Maintenance mode couldn't be switched. Details: www-data is not in the sudoers file. This incident will be reported.
@JanVoracek suggested that problem is probably with this code:
versionpress/dev-env/wordpress-image/Dockerfile
Line 14 in 29fa978
I am not sure if we can simply remove it.
WP-CLI instalation should be reviewed as a whole, see related issue #1412.
The text was updated successfully, but these errors were encountered: