获取 Docker 容器的 IP 地址 docker inspect --format='{{.NetworkSettings.IPAddress}}' yourContainerIdOrContainerName