ralfyang / docker_cli_dashboard

CLI mode dashboard for Docker
135 stars 30 forks source link

docker container IP show function needed #15

Open ralfyang opened 7 years ago

ralfyang commented 7 years ago

ex)

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