Comments (2)
Hi, thanks for raising this Issue. I believe you're asking why the command Get-Volume
is failing on a Docker volume. When you create a Docker volume (e.g., docker create <vol-name>
), that volume isn't actually managed by your host operating system. Instead, that volume is created inside the Docker VM.
If you do docker volume inspect <vol-name>
, it'll probably show that the mountpoint
is at C:\ProgramData\Docker\volumes
. However, if you open up File Explorer and try to navigate to that path, it won't let you. That's because the volumes folder is living inside the Docker VM.
Commands like Get-Volume
won't work because your host file system isn't managing that volume so it can't provide any details because it doesn't even have access to it. This is actually intentional because Docker wants to streamline the management of these volumes. Similarly, they don't provide a lot of options for gathering data about the volume such as sector size.
If there's specific info you need about your Docker volume, let us know and we can try to explore a workaround (if it's possible). Otherwise, this is by design and not a bug.
from windows-containers.
@ntrappe-msft I am not conviced about the result of the analysis / explanation.
[..] Get-Volume is failing on a Docker volume. When you create a Docker volume (e.g., docker create <vol-name>), that volume isn't actually managed by your host operating system. Instead, that volume is created inside the Docker VM.
The results I am showing are when running the commands inside a Windows container in a Windows node in a managed AKS cluster. So there is no Docker VM, or even docker involved. Indeed, there is no virtualization involved because this is a windows node with windows container, so pure containers + containerd + kubelet.
This logs if from Microsft SQL Server when running in a windows container in the aformementioned scenario:
[00:07:29] [System:MSSQLSERVER] Error The operating system returned the error '144(The directory is not a subdirectory of the root directory.)' while attempting 'GetVolumeInformation' on 'g:\data\' at 'storagedmv.cpp'(468).
Get-Volume is failing in this case on an Azure Disk mounted volumen, when called from within the container. I believe the CSI disk driver (https://github.com/kubernetes-sigs/azuredisk-csi-driver) attaches the network disk to the host, and then loops that to a volume .
from windows-containers.
Related Issues (20)
- Requesting elaboration for HCN error 2151350293 (0x803b0015) HOT 16
- Can not start three containers with published ports, if using two NAT networks HOT 3
- Can't install buidltools2019 with chocolatey inside container HOT 4
- Cannot find Docker image for Windows 10.0.19045 HOT 1
- Dockerfile: `USER ContainerUser` results in "failure in a Windows system call: The user name or password is incorrect. (0x52e)" HOT 9
- Windows does not load the dlls api-ms-win-xxxxxxxxxxxx-l1-2-0.dll HOT 4
- FROM/layer-extraction on ltsc2019 fails: link operation for `Windows/INF/basicrender.inf` on cross-platform building from Linux HOT 12
- Usage of DISM fails inside container due to missing device driver HOT 5
- The referenced assembly could not be found. Error: 0x80073701 HOT 7
- NTAccount/Sid Translation fails with RPC Endpoint Mapper Authentication policy enabled and IIS installed HOT 1
- RUN --mount support in Windows BuildKit HOT 1
- Permission denied when docker pull HOT 1
- buildkit/buildx: powershell not in the PATH, error: The system cannot find the file specified.: unknown HOT 5
- Image 'LastUpdatedTime' date differs from DockerHub documentation HOT 2
- mcr.microsoft.com/windows/servercore:10.0.20348.2340 BSODs Windows 2022 10.0.20348.1726, mcr.microsoft.com/windows/servercore:10.0.20348.1970 does not HOT 2
- Fatal SSL errors occur in some applications unless curl is run inside the container, whose side effects somehow resolve the issue HOT 2
- Support 3rd Party Vendor Specific Graphics APIs HOT 2
- NPU Acceleration HOT 2
- Allow importing trusted root certificates into the per-user root store as ContainerUser
- 8dot3name short name creation not persisted
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windows-containers.