Docker Community Forums

Share and learn in the Docker community.

How check the port numbers assigned to the node conatiners?

By default “hub” showing up the port number assigned to it when I run the command “docker ps -a”, but node containers port numbers are empty.
I tried the command “docker container port container_node_id” it shows nothing. Kindly help.

a docker inspect <container_name_or_id> may provide the information you need.

1 Like

Thanks it helped me with port details

Hello Brahma
use of docker inspect
in you can see the node assigned port
Node default port is 3000