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

How to delete / clear queue of PowerMTA