Add test for --net=container mode networking

This is an attempt to add a test for a container running with
--net=container:id.  The test is currently failing, with the container
apparently getting no network, and I'm not sure why.
This is awful and racy. You can check this on running container with `docker exec`