From 9e46534b09b96af01d7c65ddceea1ca2a787ede1 Mon Sep 17 00:00:00 2001 From: Stewart Williams <16945415+bravostuzero@users.noreply.github.com> Date: Fri, 22 Feb 2019 09:23:10 +0000 Subject: [PATCH] Do not match inet6 addresses on MacOS --- docker-compose/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose/Makefile b/docker-compose/Makefile index 1f7f204b..3a48a918 100644 --- a/docker-compose/Makefile +++ b/docker-compose/Makefile @@ -55,7 +55,7 @@ else endif ifeq ($(UNAME_S),Darwin) IF_INTERFACE := $(shell netstat -nr | awk '{ if ($$1 ~/default/) { print $$6} }') - DISPLAY := $(shell ifconfig $(IF_INTERFACE) | awk '{ if ($$1 ~/inet/) { print $$2} }'):0 + DISPLAY := $(shell ifconfig $(IF_INTERFACE) | awk '{ if ($$1 ~/inet$$/) { print $$2} }'):0 # network_mode = host doesn't work on MacOS, so fix to the internal network NETWORK_MODE ?= tangonet XAUTHORITY_MOUNT := $(HOME)/.Xauthority:/hosthome/.Xauthority:ro -- GitLab