Powershell remote access to nanoserver on docker
<p>I have created a W10 VM (guest) running docker, pulled microsoft/nanoserver image and hosted a container of the image.</p>

<p>(tutorial here: <a href="https://msdn.microsoft.com/en-us/virtualization/windowscontainers/quick_start/quick_start_windows_10" rel="noreferrer">https://msdn.microsoft.com/en-us/virtualization/windowscontainers/quick_start/quick_start_windows_10</a>)</p>

<p>Everything runs great, even host can ping the container running under guest W10. But what i cannot do, is to connect a remote powershell to container.</p>

<pre><code>Enter-PSSession -ComputerName "&lt;container ip&gt;" -Credential ~\Administrator
</code></pre>

<p>This pops up a dialog asking for user and password. I cannot leave it blank or etc - the result is access denied. Any ideas how to connect or set a password for nanoserver container ?</p>