EasyEngine / docker-compose-wordpress

Work in progress! 👷
https://easyengine.io/blog/how-we-plan-to-use-docker-in-easyengine-v4/
MIT License
29 stars 14 forks source link

Unable to install WP-CLI packages #33

Open rahul286 opened 6 years ago

rahul286 commented 6 years ago

I tried installing https://github.com/trepmal/wp-revisions-cli

ee wp rtcamp.li.rtdemo.in package install trepmal/wp-revisions-cli

Got error

╭─root@li.rtdemo.in ~
╰─➤  ee4 wp rtcamp.li.rtdemo.in package install trepmal/wp-revisions-cli                                                             127 ↵
Error: Composer directory '/var/www/.wp-cli/packages' for packages couldn't be created: mkdir(): Permission denied
mbtamuli commented 6 years ago

The wordpress image used by ee4 is being built using this Dockerfile

This issue can be solved by updating the permissions of the /var/www directory.