Score:0

How to access the filesystem of the VM in which docker is run in windows

uy flag

I want to find a way to enter inside a VM in which docker runs in windows. Actually, I am running Kubernetes cluster inside docker and when I use hostPath Volume Type, the volume is mounted inside a directory in the VM. Can anyone tell me how to use ssh or is there another way to access the VM filesystem in which docker is run. I also want to copy some files into and from the VM folder.

Kindly guide me.

paladin avatar
id flag
You could use `sshfs` but this is not very performant. If you need performance, you should set up a NAS in kubernetes, where all the filesystems are stored. From Windows you should then be able to connect to the NAS via any tool that is supported by the NAS. Best would be via Samba, so you could use Windows-Explorer and mounting the NAS as network drive in Windows.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.