nezhar/wordpress-docker-compose

Can't run docker-compose because of volume specification error

Rwarlock opened this issue · 1 comments

Every time I try to run docker-compose up I get the following error.

E:\agency-development>docker-compose up
agency-development_db_1 is up-to-date
Creating agency-development_wordpress_1 ... error

ERROR: for agency-development_wordpress_1  Cannot create container for service wordpress: invalid volume specification: '/e/agency-development/wp-content:/var/www/html/wp-content:rw'

ERROR: for wordpress  Cannot create container for service wordpress: invalid volume specification: '/e/agency-development/wp-content:/var/www/html/wp-content:rw'
ERROR: Encountered errors while bringing up the project.

I have also added COMPOSE_CONVERT_WINDOWS_PATHS=1 as the env variable

This issue might be cause because the shared drives are not enabled in docker for windows.
Take a look here docker/for-win#77 (comment)