<p>What I want to do is run kubernetes within docker and expose the kubernetes services externally. I followed the <a href="http://kubernetes.io/v1.1/docs/getting-started-guides/docker.html" rel="nofollow">docs</a> on getting kubernetes running within docker.  As long as I connect from the <code>localhost</code>, I can access my services. However, connecting from a different computer doesn't work.  If I spin up a docker image directly, then I can access it.  Only things running within kubernetes aren't exposed.  Is this possible?</p>

<p>Ensure your nodes have externally reachable IP addresses.</p>

<p>Then create a service of type NodePort:
<a href="https://github.com/kubernetes/kubernetes/blob/master/docs/user-guide/services.md#type-nodeport" rel="nofollow">https://github.com/kubernetes/kubernetes/blob/master/docs/user-guide/services.md#type-nodeport</a></p>

<p>And direct traffic to nodes at the allocated port.</p>
