1
docker network inspect [Network名] | jq -r '.[0].Containers[] | [.Name, "-->", .IPv4Address] | @csv' | column -t -s "," | xargs -ICONTAINER echo "- CONTAINER"
1
2
3
- xxxxxxxxxxxxxxxxxxxxx_1_317aff4ad3c0          -->  172.18.0.3/24
- xxxxxxxxxxxxxxxxxxxx_1_b32147fa56fc --> 172.18.0.2/24
- xxxxxxxxxxxxxxxxxxxx_1_9a0726ae8e85 --> 172.18.0.4/24