You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem here is How to get and format a host disk inside a windows container?.
Background:
I am now implmenting azure disk CSI driver, it works well on Linux, while I am thinking how to enable disk CSI driver on Windows, there is a potential blocking issue here.
On Linux, we usually use volume mapping to map /dev to a container, and we could formant and mount that disk inside a container, that's the solution on Linux.
While on windows, how could I do that since there is no such /dev dir, on kubernetes, I implemented that by Get-Disk powershell command which is actually running on host, code is like following:
@andyzhangx I assume that you are talking about data drives here? Not the ones where container it selves is running?
On Linux, we usually use volume mapping to map /dev to a container, and we could formant and mount that disk inside a container, that's the solution on Linux.
What prevents you to just mount directory which contains VHDX files inside of container and use it same way than /dev folder on Linux?
@olljanat In that way, the host already mounts that vhdx file to a directory, while in CSI scenario, the mount process should happen inside container. This is the difference between Windows and Linux, in Linux, all devices are files while not for Windows. Anyway, I will try to set POC as a process in windows.
Description
The problem here is How to get and format a host disk inside a windows container?.
Background:
I am now implmenting azure disk CSI driver, it works well on Linux, while I am thinking how to enable disk CSI driver on Windows, there is a potential blocking issue here.
On Linux, we usually use volume mapping to map
/dev
to a container, and we could formant and mount that disk inside a container, that's the solution on Linux.While on windows, how could I do that since there is no such
/dev
dir, on kubernetes, I implemented that byGet-Disk
powershell command which is actually running on host, code is like following:How to get and format a host disk inside a windows container?
This is a common blocking issue for making all disk related CSI driver work on windows.
cc @jhowardmsft @feiskyer @khenidak @PatrickLang @KnicKnic @taylorb-microsoft
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: