Technical requirements
What you need to go through this chapter is Docker Desktop. Docker Desktop is free for individual developers and education and open source communities. You can download Docker Desktop from https://www.docker.com/products/docker-desktop/, best used with the Windows Subsystem for Linux (WSL). Check the README file of this chapter to install WSL 2 and Docker Desktop.
Note
The dotnet publish
command supports building and publishing Docker images. While some features of dotnet publish
can be used without Docker Desktop being installed, we start using Docker directly, as this also helps in understanding what can be done using the .NET CLI, and often you need a lot more in regard to Docker than offered by the .NET CLI.
The code for this chapter can be found in the following GitHub repository: https://github.com/PacktPublishing/Pragmatic-Microservices-with-CSharp-and-Azure.
The ch05
source code folder contains the code samples for this chapter. For different...