title: How do I access Windows eventlog of a Docker container
body: <p>How do I access the Windows Event Log of a Microsoft Docker container from the host?</p>
  
  <p>I have a docker container under Windows Server 2016.</p>
  
  <p>The container is based on image: microsoft/iis</p>
  
  <p>I can get the ip address of the container with:</p>
  
  <pre><code>docker inspect -f "{{ .NetworkSettings.Networks.nat.IPAddress }}" my-running-site
  </code></pre>
  
  <p>How can I connect to it via the Event Viewer on the windows host?</p>