docker container via rancher doesn't listen on port

I am starting containers from rancher catalog, they run without errors, in logs I see

listening on port 8080
but this port is closed and

docker ps
shows no port for the container. If I do the same docker-compose on the host - it works. What does it mean?

Ports are mapped by CNI drivers with iptables rules, the is no process for netstat to show and as far as Docker is concerned the container is --net=none.

1 Like