Imagine you're messing around in a container, and you install some stuff, add some config, and now it's time to load up your client and check it out! Oh wait, you forgot to forward ports when you created the container! Fear not, all is not lost, for in the world of pipes, and streams, there is always a way to do something disgusting.
Example Dockerfile included will install Nginx, and socat in a container, and make Nginx run in foreground mode. To build, and run: