Search code examples
dockerdocker-for-windowsdocker-desktop

"System limitation" when starting windows containers on docker for Windows


I was having some trouble with Windows Container, every single image that I pulled was giving me a strange Hyper-V erro:

"The requested operation could not be completed due to a virtual disk system limitation. Virtual hard disk files must be uncompressed and unencrypted and must not be sparse."

All the results from my research pointed out the need to uncheck the "Compress disk to save space" on the disk where the images were being saved, but as you can see that was not my case:

[main disk properties][


Solution

  • After some digging, the solution was quite simple:

    On C:/ProgramData/Docker and C:/ProgramData/DockerDesktop folders I saw that the compress flag was active on these individual folders for some reason, after disabling it everything worked like charm.