docker 相关 1.查看docker ip docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' haproxy3 haproxy3参数为容器名或id