thx to corona - most of us working from home and due to some convenience, i want to use my windows machine that i have here at home.
I do run Win10 with DockerDesktop Version 2.3.0.3 with Engine running on Version 19.03.8. What I am doing is exposing the docker deamon on localhost in order to use it from my WSL (Version 1, not 2) installed Ubuntu. Docker itself works, I can pull images and do basic stuff. But I am facing issues when mounting volumes :-/
When I try to run my docker-compose up command, it fails with the following error:
ERROR: for my-service Cannot start service my-service: error while mounting volume '/var/lib/docker/volumes/someDir/_data': failed to mount local volume: mount /home/myUser/myLocalDirectory:/var/lib/docker/volumes/someDir/_data, flags: 0x1000: no such file or directory
The directory /home/myUser/myLocalDirectory does exist.
Directory /var/lib/docker/volumes/someDir/_data does not exist on my WSL "host". There is only a /var/lib/docker-engine/... folder, which is obviously not the one i am looking for :-/
My working path is /mnt/e/projects/myDockerProject - but i also tried to mount/bind the folder/harddrive like shown here.
All does not work and i am really stuck - do you have any suggestions/explanations?