<p>I'm trying to set up the use of dotnet-monitor in a windows pod. But if I understand correctly, there are no images for use on Windows nodes <a href="https://hub.docker.com/_/microsoft-dotnet-monitor" rel="nofollow noreferrer">https://hub.docker.com/_/microsoft-dotnet-monitor</a>. Is there any way to install dotnet-monitor utilities in Dockerfile windows pod to start collecting metrics from my windows application?</p>

<p>The side car approach for setting up Dotnet Monitor in a Windows Container to get the diagnostics logs of a different container is currently not supported as mentioned by <em><strong>Jander-MSFT</strong></em> in this <em><strong><a href="https://github.com/dotnet/dotnet-monitor/issues/1160" rel="nofollow noreferrer"><code>Github Issue</code></a></strong></em> which might get resolved by this <em><strong><a href="https://github.com/dotnet/runtime/issues/63950" rel="nofollow noreferrer"><code>Issue</code></a>.</strong></em></p>
<p><em><strong>As a Solution , You will have to install the tool on the same Windows container by running the below command :</strong></em></p>
<pre><code>dotnet tool install --global dotnet-monitor --version 6.0.0
</code></pre>
<p>You can refer this <em><strong><a href="https://www.hanselman.com/blog/exploring-your-net-applications-with-dotnetmonitor" rel="nofollow noreferrer"><code>blog</code></a></strong></em> by <em><strong>Scott Hanselman</strong></em> for more details on the same .</p>
