I have started an nginx
container bound on the host
network as follows:
docker run --rm -d --network host --name mynginx nginx
However, when querying process information with the ss
command, this seems to be a pure nginx
but not a docker
process:
$ ss -tuap 'sport = :80'
Netid State Recv-Q Send-Q Local Address:Port Peer Address:Port
tcp LISTEN 0 128 0.0.0.0:http 0.0.0.0:* users:(("nginx",pid=16563,fd=6),("nginx",pid=16524,fd=6))
why is that?