Is there a way to use docker ps for a certain port. I am assuming at any given time there would be only one container running on a certain port.
What if I want to get the output of docker ps on a particular port number say 1433?
Is there a way to use docker ps for a certain port. I am assuming at any given time there would be only one container running on a certain port.
What if I want to get the output of docker ps on a particular port number say 1433?
If you want to see the port that is mapped to into the container, you can try:
docker ps --filter "expose=80"