Docker Community Forums

Share and learn in the Docker community.

How to create disk partition inside a Docker container on Windows server 2016?

I am on Windows server 2016 Datacenter Evaluation and using Docker for Windows Community Edition version 17.05.0-

I have created few images through docker file and also through docker commands and I am trying to install MSSQL server inside container, my MSSQL installation files are such that it automatically creates few folders on D drive but when I see inside container there is only C drive available. Is there a way can perform disk partition inside containers I tried with diskpart command but it didn’t work or is there way I can mount folders in D drive on my host machine on to containers ?

Any news ? I’m having the same problem

For me getting same issue with diskpart command.