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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2MDU1MTEsIm5iZiI6MTcyNDYwNTIxMSwicGF0aCI6Ii8yNjA4NDY4LzI4MjI2NzkwMi00MDY3ZDQ3ZC01ZWEzLTQ2MGUtOTA2Mi0wMDUwYzYxMWJhNTMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjVUMTcwMDExWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MGM1NTQyYTFiMWY2ZmU4OTMzOGIwODY4ZTExYjdkNDJjYmE3OGJhNDQzM2I2YjVjMTY5ZGI4NjI2MDQ4YjdjZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.xXz7mnP4Z_rAAstZ2CVx2DetSyH06Bf4Oq5vQyywkIg)
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