From 9624f3b00f7eaf9a19563ad3286779b7966c4abb Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Sun, 25 Nov 2018 22:20:53 +0100 Subject: [PATCH] fix: dev: should not need any direct connection from container to host These variables should not be used. --- bin/compose | 8 -------- 1 file changed, 8 deletions(-) diff --git a/bin/compose b/bin/compose index d9d3728..bc80c2c 100755 --- a/bin/compose +++ b/bin/compose @@ -2724,14 +2724,6 @@ fi _setup_state_dir mkdir -p "$CACHEDIR" || exit 1 -DOCKER_HOST_NET=$(ip addr show docker0 | grep 'inet ' | xargs printf "%s " | cut -f 2 -d " ") || { - die "Couldn't determine docker host net" -} -DOCKER_HOST_IP=$(echo "$DOCKER_HOST_NET" | cut -f 1 -d "/") || { - die "Couldn't determine docker host ip" -} -export DOCKER_HOST_NET DOCKER_HOST_IP - ## ## Argument parsing ##