How to get IP address of running docker container
I am using Docker for Mac. I am running a nodejs based microservice in a Docker container. I want to test node microservice through the browser. How to get IP address of running docker container? If you don't want to map ports from your host to the container you can access directly to the docker range ip for the container. This range is by default only accessed from your host. You can check your container network data doing: docker inspect <containerNameOrId> Probably is better to filter: docker inspect <containerNameOrId> | grep '"IPAddress"' | head -n 1 Usually, the default docker ip range