Reputation: 167
I installed docker 1.5 on Ubuntu 14.04 and from a container I can do ps -eaf
to display the list of processes within the container
But when using ss -lap
or nestat - lp
I cannot get the PID of the processes that opened particular ports. Is there a way to get around this in order to know which PID opened a particular port within the container?
Upvotes: 0
Views: 617
Reputation: 32156
if you have lsof and want to see who opened the port 8000, then lsof -i :8000
should show it
Upvotes: 1