Docker Community Forums

Share and learn in the Docker community.

Unable to mount new drive in container anymore


(Sprutton1) #1

Prior to version 17.09+, I was able to specify a single drive letter to create a new drive in the container. It doesn’t seem to work now.

docker run -it -v m: microsoft/windowsservercore powershell
Running this on 17.09+ throws the following error and I am unable to access the drive.
Attempting to perform the InitializeDefaultDrives operation on the 'FileSystem' provider failed.

If I inspect the drive using fsutil fsinfo driveType m:, I get the following:
m: - Remote/Network Drive

Running the same command on 17.06, I get the following:
m: - Fixed Drive

Inspect doesn’t show any difference between the two.

Has anyone else come across this issue or have anything I can try to narrow this down?


(Michael Friis) #2

Please open an issue on the moby/moby GitHub repo and ping @jhowardmsft