原文地址:https://blog.csdn.net/wen_1108/article/details/78282268
查看docker name:
sudo docker inspect -f='{{.Name}}' $(sudo docker ps -a -q)
查看dockers ip:
sudo docker inspect -f='{{.NetworkSettings.IPAddress}}' $(sudo docker ps -a -q)
原文地址:https://blog.csdn.net/wen_1108/article/details/78282268
查看docker name:
sudo docker inspect -f='{{.Name}}' $(sudo docker ps -a -q)
查看dockers ip:
sudo docker inspect -f='{{.NetworkSettings.IPAddress}}' $(sudo docker ps -a -q)