Docker ip addresses

Updated: 27 March 2024

On Linux, IP address of the Docker host

172.17.0.1

Get the IP address of a running container

docker inspect --format='{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' id-or-name

Leave a comment