ERROR for wp wordpress 1 Cannot create container for service wordpress invalid volume specification E docker wp html var www html rw

0 votes

I am trying to launch one wordpress container in my windows system. But I got this below error.

Starting wp_mariadb_1 … done Creating wp_wordpress_1 … error
ERROR: for wp_wordpress_1 Cannot create container for service wordpress: invalid volume specification: ‘E:\docker\wp\html:/var/www/html:rw’: invalid mount config for type “bind”: bind source path does not exist: e:\docker\wp\html

How can I solve this error?

Apr 14, 2020 in Docker by akhtar
• 38,260 points
2,594 views

1 answer to this question.

0 votes

Hi@akhtar,

As you are using Windows system, you need to set COMPOSE_CONVERT_WINDOWS_PATHS=1 to your environmental variables.

$ Env:COMPOSE_CONVERT_WINDOWS_PATHS=1

Hope this will work.

answered Apr 14, 2020 by MD
• 95,460 points

Related Questions In Docker

0 votes
1 answer

Docker error "ERROR: for nginx Cannot start service nginx: oci runtime error"

I had faced a similar issue and ...READ MORE

answered Sep 24, 2019 in Docker by anonymous
• 52,350 points
6,607 views
0 votes
1 answer

Docker error cannot delete docker container, conflict: unable to remove repository reference

First, remove the container names $ sudo docker ...READ MORE

answered Jul 31, 2018 in Docker by Kalgi
• 52,350 points
5,860 views
0 votes
1 answer

Error: Cannot access server in docker container

Try to publish your port: docker run -p ...READ MORE

answered Sep 7, 2018 in Docker by Tyrion anex
• 8,700 points
1,082 views
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,020 points
2,735 views
0 votes
1 answer

Job for docker.service failed because the control process exited with error code.

Hi@akhtar, Before starting your docker service check if ...READ MORE

answered Apr 14, 2020 in Docker by MD
• 95,460 points
16,964 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP