Connect to RPC Server in Docker
<p>Getting started with docker for Windows.
Would like to manage/monitor the stop the service in the container with a Services snap-in.</p>

<pre><code>    FROM microsoft/windowsservercore
    EXPOSE 135 1024-65535
</code></pre>

<p>The container was run with</p>

<pre><code>docker run -it --host-name rpc-test myrpc cmd
</code></pre>

<p>RPCSS Server works on the container.</p>

<pre><code>sc query RPCSS
</code></pre>

<p>Still getting the error:
<strong>1722: The RPC server is unavailable</strong></p>

<p>What I'm doing wrong?</p>