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.
The instructions assume .NET SDK 10.0.100+.
Instructions:
Advanced instructions:
- Publish OCI image publishing reference
- Dockerfile samples
- Publishing apps within an SDK container
- Cross-compilation
- Publishing to a registry
- Controlling how your containers run
If you are using this repo in a talk, use this QR code to help people find the repo.
The instructions assume:
The following environment was used for the examples.
$ dotnet --version
10.0.100
$ docker --version
Docker version 28.4.0, build d8eb465
$ uname -a
Linux merritt 6.14.0-35-generic #35~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Oct 14 13:55:17 UTC 2 x86_64 x86_64 x86_64 GNU/Linux