I’m using Docker with WSL with a PostgreSQL image. I’m trying to store the PostgreSQL data in a Windows folder, but it seems to be almost impossible to achieve. When launching a Docker, this is supposed to work:
-v /mnt/d/PostgreSQL:/home/postgres/pgdata/data
Privilege errors are logged. No idea how to solve it. I’m logged in as Administrator in Windows with no privilege problems.
But after closer inspection I see I’m not able to access the volume through Explorer:
How to achieve this will be much appreciated.