Unraid docker webui add a MAC Address list? (made a script that works for me)


Recommended Posts

  • 1 month later...

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 /

 

  • Like 1
Link to comment
  • EmilionDK changed the title to Unraid docker webui add a MAC Address list? (made a script that works for me)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.