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.
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