-
Notifications
You must be signed in to change notification settings - Fork 1
docker-compose up not working in ubuntu(18.04) subsystem in Windows 10 #3
Comments
Tomorrow let's take a closer look at this link: |
Mounting any volumes in WSL requires that they exist as Windows paths in the first place. Does not work:
Works:
|
@evanjtravis and @cmaturi a potential workaround for this problem is to move your home directory to
The article above is a bit wordy, but the approach is easy enough. Create a -netid:x:1000:1000:,,,:/home/netid:/bin/bash
+netid:x:1000:1000:,,,:/c/home:/bin/bash This approach seems straightforward and I think it will work. It is worth a try. |
Tried the following in windows cmd prompt. Still seeing the same issue
|
Turns out this is a Windows for Docker issue not a WSL issue. When you change your Windows password, you will NO longer be able to mount you C drive. Since @cmaturi and @evanjtravis are using AD passwords, every time their AD password changes, it will be necessary to unshare your C drive in the Docker for Windows GUI and then reshare it. This requires you to enter your new password. This is a known issue: |
@evanjtravis I am able to mount unix file system using docker:
|
I am able to mount |
Also tried the following:
The text was updated successfully, but these errors were encountered: