User Tools

Site Tools


wiki:docker_commands

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
wiki:docker_commands [2025/11/04 10:00] – add Print IPs for all containers antisawiki:docker_commands [2026/05/21 12:10] (current) – add Get IPs of all containers antisa
Line 16: Line 16:
  
   docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' <container-name>   docker inspect -f '{{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' <container-name>
 +
 +===== Get IPs of all containers with names =====
 +  docker inspect -f '{{.Name }}            {{range.NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(docker ps -aq)
  
 ===== Run kibana ===== ===== Run kibana =====
wiki/docker_commands.txt · Last modified: by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki