Windows Server Docker Containers & Managing Virtual Hard Disks

A

AcelinkIT

I work with several software engineering groups and want to have their workflow happen inside of Docker containers. One of their artifacts requires block storage. Their workflow utilizes diskpart to create a virtual hard disk, mount the disk, create partitions, formats partitions, then adds files.

However I am unable to get diskpart or powershell disk commands to properly run inside of any docker container. I have tried microsoft/windowsservercore, microsoft/windowsservercore:1709, & also microsoft/windowsservercore-insider with and without hyperv isolation.


Diskpart Error:

"Virtual Disk Service error:
The service failed to initialize."

Powershell & Other Errors:

"A virtual disk support provider for the specified file was not found"


Any ideas on how to accomplish this?

Continue reading...
 
Back
Top Bottom