Run following command on host machine to get IP address of your docker container.
docker inspect --format '{{ .NetworkSettings.IPAddress }}' <container_id>
you can also get complete details of you docker container by runningdocker inspect <container_id>
container_id can be obtainer by runningdocker ps
0 comments:
Post a Comment