The workshop details the fundamental workflows for using .NET with containers. It includes a variety of approaches and capabilities, such as OCI image publish, registry push, Dockerfile, cross-compilation, and chiseled containers. OCI publish is used as the default approach.
Instructions:
- Publish OCI images
- Publish OCI image publishing reference
- ASP.NET Core web apps
- Dockerfile samples
- Publishing apps within an SDK container
- Cross-compilation
- Publishing to a registry
- Controlling how your containers run
- Dynamically Adapting To Application Sizes
If you are using this repo in a talk, use this QR code to help people find the repo.
![QR code to repo](https://private-user-images.githubusercontent.com/2608468/282267902-4067d47d-5ea3-460e-9062-0050c611ba53.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg5MTA3OTcsIm5iZiI6MTcxODkxMDQ5NywicGF0aCI6Ii8yNjA4NDY4LzI4MjI2NzkwMi00MDY3ZDQ3ZC01ZWEzLTQ2MGUtOTA2Mi0wMDUwYzYxMWJhNTMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjBUMTkwODE3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZjY0OWFjODhmOTQyY2Q0ZTZiMmYzMGE4ZjJlMzE3NzdmMThhNzkyYzhjYTk0OTFlZTU3N2MzM2Y2NWZkMDFmMyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.9ocBf88zyrNKIn6J2z8L7rr3WI8U9lNnepMpNehZq8Y)
The instructions assume:
The following environment was used for the examples.
$ dotnet --version
8.0.100
$ docker --version
Docker version 24.0.7, build afdd53b
$ cat /etc/os-release | head -n 1
PRETTY_NAME="Ubuntu 22.04.3 LTS"
$ uname -a
Linux vancouver 6.2.0-35-generic #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Oct 6 10:23:26 UTC 2 x86_64 x86_64 x86_64 GNU/Linux