Roine

Get the ip of a docker image

May 08, 2019

If you need the container’s IP

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

Replace container_id by yours.