Docker Version: 2.5.0.1
Windows Version: 10.0.18363
I have a bitlocker encrypted notebook (can’t change that because of company policy). I installed docker for windows and tried to run a windows subsystem. I get an error
docker run mcr.microsoft.com/windows/nanoserver:10.0.18363.1198
docker: Error response from daemon: hcsshim::CreateComputeSystem 9dfc8685de20c73908ef9d2a1c4de6d92083346f74ab8b3b8ee5b079689fa83d: Der angeforderte Vorgang konnte aufgrund einer Beschränkung für das virtuelle Datenträgersystem nicht abgeschlossen werden. Die Dateien virtueller Festplatten müssen unkomprimiert und unverschlüsselt sein und dürfen nicht als platzsparend festgelegt werden.
(extra info: {“SystemType”:“Container”,“Name”:“9dfc8685de20c73908ef9d2a1c4de6d92083346f74ab8b3b8ee5b079689fa83d”,“Owner”:“docker”,“IgnoreFlushesDuringBoot”:true,“LayerFolderPath”:“E:\Docker\windowsfilter\9dfc8685de20c73908ef9d2a1c4de6d92083346f74ab8b3b8ee5b079689fa83d”,“Layers”:[{“ID”:“ab5b0dab-7662-566f-bd10-95813160350b”,“Path”:“E:\Docker\windowsfilter\5186d91a1d1fb92f91816ebe503e00f37f512d4b4b9f4218c5b3fe2a01c58f69”}],“HostName”:“9dfc8685de20”,“HvPartition”:true,“EndpointList”:[“F97F9575-8791-4D60-B013-2E1FF003C167”],“HvRuntime”:{“ImagePath”:“E:\Docker\windowsfilter\5186d91a1d1fb92f91816ebe503e00f37f512d4b4b9f4218c5b3fe2a01c58f69\UtilityVM”},“AllowUnqualifiedDNSQuery”:true}).
I changed the data root in
C:\ProgramData\Docker\config\daemon.json
to E:\Docker. This is an unencrypted an uncompressed partition. Why am I getting this error, when the container lies in E:\Docker\windowsfilter ?
The error in english:
The requested operation could not be completed due to a limitation on the virtual disk system. Virtual hard disk files must be uncompressed and unencrypted and must not be designated as space-saving.
EDIT:
I decompressed my whole system now. The message ist still the same. This means to me: Docker with Windows Containers is not possible with bitlocker. Right?
EDIT2:
As an experiment, I created a Win10 Hyper-V machine and moved it over all partitions. It started everywhere without any problems. So it seems to be a docker bug or misconfiguration. But I have no clue where to start.