I'm trying to perform a trivial action: share folder between host and container.
But when I'm mounting some folders from host they appear empty in the container.
I've done following:
version: '3'
services:
t1:
image: ubuntu
volumes:
- /bin:/test
command: '/bin/bash -c "/bin/ls /test"'
And after starting this I see some content, but it is really different from what I see if run ls /bin
on host.
As I understand it shows the content of that MobbyLinuxVM from hyper-v, but that not what I want...
Is there any way to make volumes work in expected way from WSL?
Thanks in advance.