We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 72cc34d + fff934e commit edca070Copy full SHA for edca070
build/common.sh
@@ -621,7 +621,7 @@ function kube::build::start_rsyncd_container() {
621
fi
622
623
local container_ip
624
- container_ip=$("${DOCKER[@]}" inspect --format '{{ .NetworkSettings.IPAddress }}' "${KUBE_RSYNC_CONTAINER_NAME}")
+ container_ip=$("${DOCKER[@]}" inspect --format '{{range .NetworkSettings.Networks}}{{.IPAddress}},{{end}}' "${KUBE_RSYNC_CONTAINER_NAME}" | cut -d',' -f1)
625
626
# Sometimes we can reach rsync through localhost and a NAT'd port. Other
627
# times (when we are running in another docker container on the Jenkins
0 commit comments