獲取docker容器ip:sudo docker inspect --format '{{ .NetworkSettings.IPAddress }}' <container id>參考博客:https://mozillazg.com/2016/01/docker-get-containers-ip-address.html