How to get a Docker container's IP address from the host - Stack Overflow

PHOTO EMBED

Fri Feb 26 2021 04:54:33 GMT+0000 (UTC)

Saved by @faisalhumayun

docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' container_name_or_id
content_copyCOPY

https://stackoverflow.com/questions/17157721/how-to-get-a-docker-containers-ip-address-from-the-host