PS D:\temp\docker> docker build -t sql2008r2sp3df . Sending build context to Docker daemon 11.63GB Step 1/20 : FROM microsoft/windowsservercore ---> f8dc15f55717 Step 2/20 : RUN powershell -Command (mkdir C:/source/dotnet) ---> Using cache ---> acdd18967f6e Step 3/20 : COPY \dotnet C:/source/dotnet ---> Using cache ---> ee91edacb097 Step 4/20 : RUN powershell Install-WindowsFeature -name NET-Framework-Core -source C:/source/dotnet ---> Using cache ---> ad0affb745a7 Step 5/20 : RUN powershell -Command (rm C:/source/dotnet -recurse) ---> Using cache ---> b6cac66312a5 Step 6/20 : RUN powershell -Command (mkdir C:/source/sqlserver2008r2) ---> Using cache ---> c7f248203e2d Step 7/20 : RUN powershell -Command (mkdir C:/source/sqlserver2008r2SP3) ---> Using cache ---> 845a3faffc00 Step 8/20 : COPY \mssql C:/source/sqlserver2008r2 ---> Using cache ---> 38bb5924ebec Step 9/20 : COPY \sql2008r2sp3 C:/source/sqlserver2008r2sp3 ---> Using cache ---> 86320d3b0997 Step 10/20 : RUN C:/source/sqlserver2008r2\setup.exe /q /ACTION=Install /FEATURES=SQL /INSTANCENAME=MSSQLSERVER /SECURITYMODE=SQL /SAPWD="S1mbaS@mbA" /SQLSVCACCOUNT="NT AUTHORITY\System" /SQLSYSADMINACCOUNTS="BUILTIN\Administrators" /TCPENABLED=1 /IACCEPTSQLSERVERLICENSETERMS /SKIPRULES=PerfMonCounterNotCorruptedCheck /AGTSVCACCOUNT="NT AUTHORITY\System" ---> Using cache ---> 1a15eb30650a Step 11/20 : RUN C:/source/sqlserver2008r2sp3/setup.exe /q /IAcceptSQLServerLicenseTerms /Action=Patch /Instanceid=mssqlserver ---> Using cache ---> efb7e1ab5e70 Step 12/20 : RUN powershell -Command (rm C:/source/sqlserver2008r2 -recurse) ---> Using cache ---> 3393ac4644e8 Step 13/20 : RUN powershell -Command (rm C:/source/sqlserver2008r2SP3 -recurse) ---> Using cache ---> 3f0e4d24b817 Step 14/20 : RUN powershell -Command (set-service MSSQLSERVER -StartupType Automatic) ---> Using cache ---> dbd469f312ab Step 15/20 : SHELL powershell -Command $ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue'; ---> Using cache ---> c05de3670a36 Step 16/20 : COPY \start.ps1 / ---> Using cache ---> ea50aad55dba Step 17/20 : WORKDIR / ---> Using cache ---> 5041d45588ce Step 18/20 : ENV SA_PASSWORD "S1mbaS@mbA" ---> Using cache ---> 1e19c935b523 Step 19/20 : ENV ACCEPT_EULA "Y" ---> Using cache ---> a0f4acf643f1 Step 20/20 : CMD .\start -sa_password $env:SA_PASSWORD -ACCEPT_EULA $env:ACCEPT_EULA -Verbose ---> Using cache ---> 0f08c27ee759 Successfully built 0f08c27ee759 Successfully tagged sql2008r2sp3df:latest