get a Docker container's IP address from the host

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

Comments

Popular posts from this blog

Check MySQL query history from command line

Installing chocolatey on Windows