server-info
:mag_right: Windows Container - ServerInfo
A small diagnostic Windows container that runs a web dashboard showing the container's OS version, network config, and system details for troubleshooting.
Server Info Explained
Server Info is a small diagnostic tool packaged as a Windows container. It runs a web server that displays technical information about the container it's running in—things like the operating system version, network configuration, and other system details. Think of it as a "what's inside this box?" dashboard that developers can check when troubleshooting Windows containers.
When you start up the container, it automatically launches a web service on port 80. You can then connect to it from another machine and see what the container's environment looks like. This is useful when you're debugging why a container isn't behaving as expected, or when you want to verify that your container setup is correct before running more complex applications inside it.
The main audience for this tool is developers and DevOps engineers working with Windows containers. If you're building containerized applications on Windows and something doesn't seem right—maybe a service isn't running, or you're not sure what IP address the container has—you can spin up this diagnostic container to get a quick view of the system state. It's a debugging aid, not something you'd use in production, but rather a helper when you're developing or troubleshooting your container setup.
The project is built in C# and uses PowerShell scripts to build and run it locally. It assumes you have Docker installed with Windows Containers enabled. The development workflow is straightforward: run a build script, then test the container locally by checking if you can reach it over the network and see the server info page.
Where it fits
- Spin up the container to check what IP address and network config a Windows container has.
- Verify a Windows container setup is correct before deploying a more complex application inside it.
- Debug why a service inside a Windows container isn't behaving as expected by viewing its system state.
- Use as a quick sanity-check dashboard when developing containerized Windows applications.