How to run an image with volume on docker for windows

0 votes

When I try to run my image, I get the following error:

> #app - inside the container is empty

What am I doing wrong? Is there a solution to this?

Sep 20, 2018 in Docker by Sophie may
• 10,610 points
632 views

1 answer to this question.

0 votes

Try :

  • declaring the volume of container
  • mounting the host-dir to the volume path

That is, Dockerfile:

And then, run this command

docker run -it -v /full/path/
answered Sep 20, 2018 by Tyrion anex
• 8,700 points

Related Questions In Docker

0 votes
2 answers
0 votes
1 answer
0 votes
1 answer
+1 vote
1 answer
+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,090 points
2,475 views
0 votes
1 answer

How to enable/ disable Hyper-V for Docker on Windows?

You can do this from command prompt ...READ MORE

answered Sep 10, 2018 in Docker by Tyrion anex
• 8,700 points
6,148 views
0 votes
1 answer

How to update docker-compose on Docker for Windows?

Please check "version" value in the docker-compose.yml ...READ MORE

answered Sep 21, 2018 in Docker by Tyrion anex
• 8,700 points
3,254 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