'How to Get Static MAC Address of a Non-Running Container
Given a Docker container that was created with a specified, static MAC address... is there a way to query Docker for that container's MAC address when the container isn't running?
When I invoke docker inspect on a non-running container, the MAC address is a zero-length string. This makes sense, since a non-running container isn't using the MAC address, but I'd like to be able to get a container's statically assigned MAC address without having to start the container.
Thanks!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
