Container volumes - ContainerPath other than C: drive? #334
Is it possible to have other drives in container than C:?
I get and error:
D:\> mkdir folder D:\> docker run --rm -it -v D: microsoft/nanoserver:1709 cmd /c "dir D:" Directory of D:\ 05/11/2018 11:29 AM <DIR> . 05/11/2018 11:29 AM <DIR> .. 0 File(s) 0 bytes 2 Dir(s) 94,127,910,912 bytes free
When starting powershell in the container it fails with a following error:
Attempting to perform the InitializeDefaultDrives operation on the 'FileSystem' provider failed. dir : Cannot find drive. A drive with the name 'D' does not exist. At line:1 char:1 + dir D: + ~~~~~~ + CategoryInfo : ObjectNotFound: (D:String) [Get-ChildItem], DriveNotFoundException + FullyQualifiedErrorId : DriveNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand
So it looks like it just creates an empty drive