Docker Find container IP


Example

To find out the IP address of your container, use:

docker inspect <container id> | grep IPAddress

or use docker inspect

docker inspect --format '{{ .NetworkSettings.IPAddress }}' ${CID}