I tried
- /mnt/d/s/elasticsearch
- /mnt/host/d/s/elasticsearch
- /host_mnt/d/s/elasticsearch
to point to D:\s\elasticsearch
but all my attempts are yielding path not found.
Note I only have docker installed, no other WSL Distribution is installed.
Share and learn in the Docker community.
I tried
to point to D:\s\elasticsearch
but all my attempts are yielding path not found.
Note I only have docker installed, no other WSL Distribution is installed.
The mount points with WSL are in /run/desktop/mnt/host/<drivename>
so to mount d:/s/elasticsearch
use
docker run --rm -v /run/desktop/mnt/host/d/s/elasticsearch:/mnt alpine ls /mnt