Windows Server Docker Containers & Managing Virtual Hard Disks


i work several software engineering groups , want have workflow happen inside of docker containers.  1 of artifacts requires block storage.  workflow utilizes diskpart create virtual hard disk, mount disk, create partitions, formats partitions, adds files.

however unable diskpart or powershell disk commands run inside of docker container.  have tried microsoft/windowsservercore, microsoft/windowsservercore:1709, & microsoft/windowsservercore-insider , without hyperv isolation.  

diskpart error:

"virtual disk service error:
service failed initialize."

powershell & other errors:

"a virtual disk support provider specified file not found"

any ideas on how accomplish this?

i had success virtual hard disk creation utilizing qemu-img windows.  (https://cloudbase.it/qemu-img-windows/)  have not found way mount virtual disks.  

i've been exploring linux containers on windows (https://blog.docker.com/2017/09/preview-linux-containers-on-windows/).  nbd kernel module not included in lcow kernel attaching devices.  experimenting more own custom lcow kernel using (https://github.com/microsoft/opengcs).




Windows Server  >  Windows Server 2016 General



Comments

Popular posts from this blog

Error: 0x80073701 when trying to add Print Services Role in Windows 2012 Standard

Disconnecting from a Windows Server 2012 R2 file sharing session on a Windows 7,8,10 machine

Event ID 64,77,1008 Certificates Events Windows Server 2008, 2008R2