[Lxc-users] Viewing a container's /proc mount from the host

Ken Elkabany Ken at Elkabany.com
Thu Sep 6 20:55:53 UTC 2012


Hi,

We're trying to find the ports that a container is currently listening on.
This information is available from /proc/net/tcp and /proc/net/udp.
However, as far as I can tell, the host cannot view a container's /proc
mount due to namespacing. We would prefer to view those files from the
host, rather than connecting to the container's tty, and viewing it from
within the container.

As an aside, we do not want to use port scanning.

Best,
Ken
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20120906/7066582d/attachment.html>


More information about the lxc-users mailing list