Is it possible to create a new partition with a drive letter other than C: in a docker Windows container?
I need a D:\ and an E:\ drive for some software.
Is it possible to create a new partition with a drive letter other than C: in a docker Windows container?
I need a D:\ and an E:\ drive for some software.
This works in native Windows Server containers, but I had issues with it on docker-for-windows (Windows 10)
VOLUME ["D:"]
So for those in the same predicament, I found this worked for both.
Add D: Drive to Windows Server 2016 Docker Images
I don't think you can do it from an existing image, but if you make a Dockerfile like so:
The Windows container will create a D: Drive.