Replies: 1 comment 1 reply
-
| 
         Unfortunately, the (filesystem) needs of databases typically do not handle filesystems like those provided by Windows / "VM file sharing" very well, so I'd suggest moving your database files into the Linux filesystem instead (and if you need to access them from Windows for some reason, share the other direction instead, but I can't imagine why you'd need to access the underlying storage of the database from Windows 🙈).  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I‘m using the latest tag of postgres. The docker is running in WSL2 of windows 11.
Note: Following snapshots about container is from
portainerHere is the windows information,

Here is the WSL information,


Here is the image's information,

After adding volume for the

pgdatapath, the container fails. Here is the mapping of volumes,Adding the

privilegemode does not work,I know this docker will use

postgres:postgresuser-group to start the container, but I already give the777permission for the folder in my WSL, it does not work too,Here is the full error message,
Beta Was this translation helpful? Give feedback.
All reactions