Building Docker images that monitor applications

When I add these new features to the NerdDinner Dockerfile and run a container from the image, I'll be able to see the web request and response logs with the docker container logs command, which relays all of the IIS log entries captured by Docker, and I can use environment variables and configuration files to specify API keys and database user credentials. This makes running and administering the legacy ASP.NET application consistent with how I use any other containerized application running on Docker. I can also configure Docker to monitor the container for me, so I can manage any unexpected failures.

Docker provides the ability to monitor an application's health, rather than just checking ...

Get Docker on Windows - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.