Open ralfyang opened 7 years ago
ex)
docker container inspect 7d0d97830dda | egrep "\"IPAddress\": \"[0-9]" | awk '{print $2}' | sed -e 's/,//g' -e 's/"//g'
docker container inspect 4c5d015a0864 --format '{{json .NetworkSettings.Networks.data_default.IPAddress}}' | sed -e 's/"//g'
ex)