WhaleDeck logo

How to list all Docker containers of a Docker network

Written by Typ0genius profile picture @Typ0genius

In this WhaleDeck Shorts, I answer the question of . The answer is quite simple. You would be surprised.

docker network inspect -f '{{range .Containers}}{{printf "%s: %s\n" .Name .IPv4Address}}{{end}}' my_network
Tired of typing commands? Experience the ease of docker server management with WhaleDeck's beautiful GUI. Get things done faster and try it for free today!
Check out more Shorts