Linux/Docker/Networking

From Wiki
< Linux‎ | Docker
Revision as of 19:59, 15 November 2023 by Marcluer (talk | contribs)
  • List docker container with IPs
docker ps -q | xargs -n 1 docker inspect --format '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}} {{ .Name }}' | sed 's/ \// /'