Retrieve Docker Container's IP Address from Host

PHOTO EMBED

Wed Feb 02 2022 21:40:14 GMT+0000 (Coordinated Universal Time)

Saved by @jimbrig #docker #networking

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