Comments (7)
Can you share the output of docker history
for the image you're trying to run?
from aspnet-docker.
docker history
IMAGE CREATED CREATED BY SIZE COMMENT
3925923746cb 2 minutes ago powershell $env:PATH = 'C:\inetpub\wwwroot\b… 29.9MB
c58215250481 3 minutes ago powershell #(nop) ADD dir:8c9dd5dc37d8184afd… 2.08GB
534e27e8c7b7 5 minutes ago powershell #(nop) WORKDIR C:\inetpub\wwwroot 41kB
84c1e9c483fd 5 minutes ago powershell Start-Process -FilePath "C:/insta… 56.6MB
16eac4af5348 6 days ago powershell #(nop) COPY dir:687b74af2d79908df… 29.6MB
194ae794a36f 6 days ago powershell Install-WindowsFeature NET-Framew… 246MB
2ec17d490df9 6 days ago powershell #(nop) SHELL [powershell] 41kB
e0eeddf85095 3 weeks ago cmd /S /C #(nop) ENTRYPOINT ["C:\\ServiceMo… 41kB
<missing> 3 weeks ago cmd /S /C #(nop) EXPOSE 80 41kB
<missing> 3 weeks ago cmd /S /C powershell -Command Add-Window… 261MB
<missing> 3 weeks ago Install update 10.0.16299.967 1.85GB
<missing> 17 months ago Apply image 10.0.16299.15 4.62GB
from aspnet-docker.
Dockerfile
FROM microsoft/iis:windowsservercore-1709
SHELL ["powershell"]
RUN Install-WindowsFeature NET-Framework-45-ASPNET ; \
Install-WindowsFeature Web-Asp-Net45 ; \
Install-WindowsFeature Web-AppInit
# Install Visual C++ runtime for VS 2015 (required by autopilot SDK)
COPY installer "C:/installer"
RUN Start-Process -FilePath "C:/installer/vc_redist.x64.vs2015.exe" -ArgumentList /Install, /Quiet, /NoRestart, /Log, c:\install_logs\vc_redist.x64.vs2015.log -PassThru -Wait;
WORKDIR /inetpub/wwwroot
ADD "bin\Release\Publish" .
RUN $env:PATH = 'C:\inetpub\wwwroot\bin\MLGWrapper;' + $env:PATH; \
[Environment]::SetEnvironmentVariable('PATH', $env:PATH, [EnvironmentVariableTarget]::Machine);
from aspnet-docker.
Ahh sorry. I just realized I misread your question.
You cannot use a newer container runtime than your host OS version. From the error message I gather you're trying to run a 1709 image on an ltsc2016 host. This is not supported.
Your options here are:
- Use a newer host OS; OR
- Run the container with Hyper-V isolation instead.
See https://docs.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/version-compatibility for more information
from aspnet-docker.
How to select newer host OS for Web App for Windows container?
from aspnet-docker.
How to select newer host OS for Web App for Windows container?
This is currently not supported in Azure App Service. You can currently only do this with your own VM.
I'd recommending creating a request for the Azure App Service team at https://feedback.azure.com/forums/169385-web-apps
from aspnet-docker.
Closing this issue as it's not actionable by the ASP.NET team.
from aspnet-docker.
Related Issues (20)
- Add support for Windows Server 2019 HOT 15
- manifest for microsoft/aspnet:4.7.2-windowsservercore-ltsc2019 not found HOT 2
- small typo in 4.7.2-windowsservercore-ltsc2019 directory
- microsoft/aspnet:4.7.2-windowsservercore-1803 is not supported in web app windows container HOT 1
- [Powershell] A positional parameter cannot be found that accepts argument HOT 1
- 'Host.docker.internal' does not resolve from inside container HOT 1
- aspnetcore-runtime doesn't have an assembly to compile razor views HOT 1
- aspnet:4.7.2-windowsservercore-ltsc2019 printers not available HOT 2
- microsoft/dotnet:2.2-runtime doesn't support [email protected] HOT 1
- ERROR: Failed to start or query status of service 'w3svc' error, while setting IIS Web Application authentication HOT 1
- No matching manifest for unknown in the manifest list entries HOT 2
- .NET Core docker image doesn't support JavaScriptServices HOT 2
- dotnet framework linux support HOT 1
- Using images in Azure d
- Using images in Azure DevOps pipeline not working HOT 2
- You guys broke Swashbuckle/Swagger in the latest version of microsoft/aspnet:4.6.2-windowsservercore-ltsc2016 HOT 3
- Tag list has not been updated since January 2019 HOT 2
- Failed to run as a self-contained app. If this should be a framework-dependent app, add the /app/Servicesruntimeconfig.json file specifying the appropriate framework. HOT 1
- Question: Is There a Way to Get Notify/Email/Webhook If Offical Image is Updated? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aspnet-docker.