Docker Community Forums

Share and learn in the Docker community.

Docker windows build


(Bktdev) #1

Running on a Windows 10 Enterprise LTSC Hyper-V virtual machine my docker build is failing with the following message:
CreateComputeSystem 4f37074346f99ce969aa7c66dd934d3864b88efc98ec147ab0a62aa236417b45: The virtual machine could not be started because a required feature is not installed.

See full error message below. I’m running Docker version 18.09.0, build 4d60db4.

At first I thought was a Windows feature but I’ve compared the Window features with a Windows 10 Pro machine (where the same build succeeds) and they match.

The command that fails is using Deployment Image Servicing and Management (DISM) to install .Net Framework 3.5.

Any ideas?

Step 1/17 : FROM microsoft/aspnet:4.6.2
—> 1cff763353b6
Step 2/17 : COPY sxs/ \sxs
—> Using cache
—> 390a3b308ac1
Step 3/17 : RUN powershell dism.exe /online /enable-feature /featurename:NetFX3 /Source:c:\sxs /all
—> Running in 4f37074346f9
CreateComputeSystem 4f37074346f99ce969aa7c66dd934d3864b88efc98ec147ab0a62aa236417b45: The virtual machine could not be started because a required feature is not installed.
(extra info: {
“SystemType”:“Container”,
“Name”:“4f37074346f99ce969aa7c66dd934d3864b88efc98ec147ab0a62aa236417b45”,
“Owner”:“docker”,
“IgnoreFlushesDuringBoot”:true,
“LayerFolderPath”:“C:\ProgramData\Docker\windowsfilter\4f37074346f99ce969aa7c66dd934d3864b88efc98ec147ab0a62aa236417b45”,
“Layers”:[
{
“ID”:“ad9da841-4f70-53f3-9541-cae8a47cd92d”,
“Path”:“C:\ProgramData\Docker\windowsfilter\5cea56aa0a8968397d3342c4da90d17a8fb71f2b2c6bf686fa3736bf186274f4”
},
{
“ID”:“b572dd73-8487-5285-abbd-2792948b5ae6”,
“Path”:“C:\ProgramData\Docker\windowsfilter\3f603083e2a858a7adbf2057fec9884da92672832cc8885bb7399501edd04a81”
},
{
“ID”:“244c5441-653b-5122-9af6-cea19b932e7e”,
“Path”:“C:\ProgramData\Docker\windowsfilter\2de26f63613bef5d518084e4714ffe718d1e36664ec60cad9883b0e837969418”
},
{
“ID”:“94d72c29-7eb2-5d5e-8f97-739be8dcd9ee”,
“Path”:“C:\ProgramData\Docker\windowsfilter\4b02ff2b2b37f4c130af677581e0a22ca8038ce038e8010112ab6cceb5afdf2a”
},
{
“ID”:“ee50474f-6fb8-51a2-a484-6f0c4bbd6df6”,
“Path”:“C:\ProgramData\Docker\windowsfilter\441a209ab7f5b676d398e1145b448690efd34716b210803d81269b0144420210”
},
{
“ID”:“bacbbafa-8a0f-5807-b5f9-840956fac5ff”,
“Path”:“C:\ProgramData\Docker\windowsfilter\18b6f75252fdc323f9c2857186aff49b53a4254c618079ca7b8c286cfe2779b3”
},
{
“ID”:“bf0b886e-2f3d-5b45-b54b-7abee5c259dc”,
“Path”:“C:\ProgramData\Docker\windowsfilter\01dc39aeb1cd8d7e55d7da065753f3aba4ad39a3bb203fb56ed8d001c30f4903”
},
{
“ID”:“bbb2b595-7091-5395-8e82-66253e7b4e02”,
“Path”:“C:\ProgramData\Docker\windowsfilter\d09d6091a8ed02b370db4bfc3878dac2e45d41f726b0a37543e9adbda4e85cfe”
},
{
“ID”:“db6a033f-faf6-5213-81ce-ef469cece772”,
“Path”:“C:\ProgramData\Docker\windowsfilter\96134d7360519754088e88151f28a76da06814f2a096c0eac880811996d4930e”
},
{
“ID”:“ce44afe2-bb62-5fc3-847f-68d498450942”,
“Path”:“C:\ProgramData\Docker\windowsfilter\b0b0575eb3421611f6e9ba30968ab9d02071ded5a141ffc7acf043201dc94e34”
},
{
“ID”:“82494aea-0131-5900-95ff-dea751e87505”,
“Path”:“C:\ProgramData\Docker\windowsfilter\350baa2db242869af3b040f1327718643d4970878efb5f6c057b98890b5587c3”
}
],
“HostName”:“4f37074346f9”,
“HvPartition”:true,
“EndpointList”:[
“C4BDE764-73E4-484E-BEFE-4388527A0F58”
],
“HvRuntime”:{
“ImagePath”:“C:\ProgramData\Docker\windowsfilter\b0b0575eb3421611f6e9ba30968ab9d02071ded5a141ffc7acf043201dc94e34\UtilityVM”
},
“AllowUnqualifiedDNSQuery”:true
}