aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/get-instance-ip.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/get-instance-ip.sh')
-rwxr-xr-xscripts/get-instance-ip.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/get-instance-ip.sh b/scripts/get-instance-ip.sh
index c4ca82cf..a236c025 100755
--- a/scripts/get-instance-ip.sh
+++ b/scripts/get-instance-ip.sh
@@ -14,4 +14,4 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
-docker inspect --format '{{ .NetworkSettings.IPAddress }}' $1
+docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $1