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,170 points
1,131 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,160 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,310 points
3,385 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,310 points
2,747 views
0 votes
1 answer

Error: Cannot access server in docker container

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

answered Sep 6, 2018 in Docker by Tyrion anex
• 8,660 points
327 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,120 points
1,142 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,160 points
4,436 views