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
Post a Comment