Docker OpenWrt Image: Difference between revisions

Jump to navigation Jump to search
Line 56: Line 56:


<syntaxhighlight lang="bash" enclose="div">
<syntaxhighlight lang="bash" enclose="div">
docker network inspect bridge | jq -r 'map(.Containers[]|select(.Name=="openwrt").IPv4Address) []'
docker network inspect bridge | jq -r 'map(.Containers[]|select(.Name=="openwrt").IPv4Address) []' | awk -F/ '{print $1}'
</syntaxhighlight>
</syntaxhighlight>

Navigation menu