Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 11781

How to bind mount a directory from the client side?

$
0
0

The most typical scenario is that the client system is a windows, thus the linux containers are running in some virtual machine, most likely in a WSL2.

However, as I experienced, bind mounts into the docker containers (that docker run -v /host/path:/container/path thing) mount directories always on the system of the dockerd. Thus, I could not find a way to mount a directory on the side of the client, which is a problem if they are different.

Is the any easy way to that, except the braindamaged idea of synchrozing everything into the remote container before a run?


Viewing all articles
Browse latest Browse all 11781

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>