Docker Community Forums

Share and learn in the Docker community.

Build image fail: The virtual machine could not be started because a required feature is not installed

build

#1

Hi ,
win 10 OS build version: 17763
Docker version: 2.0.0.0-win81(29211) build4271b9e

problem:
when I create image by Dockerfile below, the error occurs, Could someone give me some suggestion!
thanks a lot.

Dockerfile
FROM microsoft/dotnet-framework:4.7.2-runtime
WORKDIR /app
COPY . ./
RUN vcredist_2015_x64.exe /q /norestart

Error:
Sending build context to Docker daemon 116.5MB
Step 1/4 : FROM microsoft/dotnet-framework:4.7.2-runtime
—> 681c097fee48
Step 2/4 : WORKDIR /app
—> Using cache
—> b2e9272b8748
Step 3/4 : COPY . ./
—> Using cache
—> aa329f46d294
Step 4/4 : RUN vcredist_2015_x64.exe /q /norestart
—> Running in 1e125612c86f
CreateComputeSystem 1e125612c86f8c28bb606fbc01addf6e663b18d03124dd3cfa874ab02a6fd9d8: The virtual machine could not be started because a required feature is not installed.
(extra info: {“SystemType”:“Container”,“Name”:“1e125612c86f8c28bb606fbc01addf6e663b18d03124dd3cfa874ab02a6fd9d8”,“Owner”:“docker”,“IgnoreFlushesDuringBoot”:true,“LayerFolderPath”:“C:\ProgramData\docker\windowsfilter\1e125612c86f8c28bb606fbc01addf6e663b18d03124dd3cfa874ab02a6fd9d8”,“Layers”:[{“ID”:“f38ef741-ffaa-5124-a47a-386665ceae00”,“Path”:“C:\ProgramData\docker\windowsfilter\7c3c4bbb60c4a2771cad18c10241a26d20fccc1aba4e05814f606b257d181d2e”},{“ID”:“e54ec467-afed-572a-949d-049b7b2e80b1”,“Path”:“C:\ProgramData\docker\windowsfilter\70975c59cd671732dc1b9348a05949b00dc262e4524e8b0101a5d40c9c2d14a4”},{“ID”:“dc4f4c22-2bab-56a2-afae-e41c92571746”,“Path”:“C:\ProgramData\docker\windowsfilter\e639bc911d5de586f9a05faad71653982488e7ba96f5783fcfe8adf78a80366a”},{“ID”:“5743ac44-4639-5410-bef5-e1767874ef09”,“Path”:“C:\ProgramData\docker\windowsfilter\228f87697db3580f25f9accd2d7943160aaaa8377832572250e20ce9f0cf57b4”},{“ID”:“9ab1ffec-9023-5016-8e44-93811c978349”,“Path”:“C:\ProgramData\docker\windowsfilter\bdebac2639b6f693cd4844d3b33677db9f8920757226645e387f2b6ecccd3bd8”}],“HostName”:“1e125612c86f”,“HvPartition”:true,“EndpointList”:[“AAF722D6-7B44-40DF-B89B-8738C0FBED1C”],“HvRuntime”:{“ImagePath”:“C:\ProgramData\docker\windowsfilter\228f87697db3580f25f9accd2d7943160aaaa8377832572250e20ce9f0cf57b4\UtilityVM”},“AllowUnqualifiedDNSQuery”:true})