How do I connect to my docker VM from windows shell?

0 votes
I'm running docker VM on windows, and I cannot access the files inside VM (MobyLinuxVM). Is there any command to do this?
Sep 5, 2018 in Docker by Sophie may
• 10,100 points
1,447 views

1 answer to this question.

0 votes

You can run a container with full root access to MobyLinuxVM. Try this:

docker run --net=host --ipc=host --uts=host --pid=host -it --security-opt=seccomp=unconfined --privileged --rm -v /:/host alpine /bin/sh
answered Sep 5, 2018 by Tyrion anex
• 8,560 points

Related Questions In Docker

0 votes
2 answers

How do I copy a file from docker container to host?

Instead of using docker run you could ...READ MORE

answered Aug 13, 2019 in Docker by Sirajul
• 58,130 points
20,356 views
0 votes
2 answers
0 votes
1 answer

How to connect shell to my new docker host?

Use the following command to connect your ...READ MORE

answered Jul 4, 2019 in Docker by Sirajul
• 58,130 points
117 views
0 votes
1 answer

How do I pass environment variables to Docker containers?

You can pass environment variables to your ...READ MORE

answered Jul 20, 2018 in Docker by Kalgi
• 51,970 points
361 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
• 57,700 points
846 views
+1 vote
7 answers

How to connect to a Docker container running mysql on Windows 10?

Avoid using bind_address in your my.cnf file. I don't ...READ MORE

answered Apr 25, 2019 in Docker by Haseeb
8,438 views