Acing AZ-204

Lab Hints

Print the help for the docker run command and you’ll see lots of options. One lets you set environment variables in the new container with key-value pairs.

Check the appsettings.json file in the source code to find the name of the variable you need to set.

If you’re new to the configuration model in .NET, here’s the documentation for the environment variable configuration provider.

Need more? Here’s the solution.