January 28, 20215 yr Hi is it possible to add a list that can show dockers mac address on the docker webui in the same way as its ip ? I know you can see it via the terminal, the other would just be more convenient Or do you have other good ideas? Thanks
February 28, 20215 yr Author Hey I put together a simple batch script that does what I need, and I just want to share it if there are others who need it I use User Scripts, and have added it there. But you can also just run it from the console. This Show the Dockers - Name / IP / MAC #!/bin/bash docker inspect -f '|-| {{.Name}} |-| {{range .NetworkSettings.Networks}} {{.IPAddress}} |-| {{.MacAddress}}{{end}} |-|' $(sudo docker ps -aq) | tr -d /
Archived
This topic is now archived and is closed to further replies.