https://github.com/mechdeveloper/aspnetcore-sample-windowscontainer-ltsc2016
https://github.com/mechdeveloper/aspnetcore-sample-windowscontainer-ltsc2016
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/mechdeveloper/aspnetcore-sample-windowscontainer-ltsc2016
- Owner: mechdeveloper
- Created: 2021-03-28T22:18:54.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-28T22:50:04.000Z (about 5 years ago)
- Last Synced: 2025-06-04T03:21:09.475Z (12 months ago)
- Language: C#
- Size: 834 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sample aspnetcore app | Windows Containers
## Build your own Custom Windows Container images | dotnet SDK
```PowerShell
# Build
docker build `
-t ashishbagheldocker/windows/baseimages/dotnet:sdk-5.0-servercore-ltsc2016 .
# Run / Test
docker run ashishbagheldocker/windows/baseimages/dotnet:sdk-5.0-servercore-ltsc2016
```
## Build your own Custom Windows Container images | aspnetcore Runtime
```PowerShell
# Build
docker build `
-t ashishbagheldocker/windows/baseimages/aspnetcore:runtime-5.0.0-servercore-ltsc2016
# Run / Test
docker run ashishbagheldocker/windows/baseimages/aspnetcore:runtime-5.0.0-servercore-ltsc2016
```
## Build your aspnetcore web application as a docker image using multi stage `Dockerfile`
```PowerShell
docker build -t aspnetcore-sampleapp:v0.0.1 .
```
## Deploy using `docker-compose.yml`
```PowerShell
docker stack deploy --compose-file docker-compose.yml stack- aspnetcoreapp
```