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,550 points

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,660 points

Related Questions In Docker

+1 vote
2 answers

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

Here is a way which you can ...READ MORE

answered Aug 27, 2018 in Docker by Damon Salvatore
• 5,980 points
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
• 59,070 points
+1 vote
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
• 52,350 points
+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 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