CiscoCloud / distributive

Unit testing for the cloud
Apache License 2.0
147 stars 20 forks source link

Docker ports don't show up in /proc/net/tcp #102

Closed langston-barrett closed 9 years ago

langston-barrett commented 9 years ago

So as it turns out, Docker containers that listen on ports don't always report them to the host kernel in a way that shows up in /proc/net/{tcp,udp}. Therefore, Port should rely on CanConnect, just using localhost and the port number, rather than reading from those files.