From 07caa6b31ce42147e2067d36c4841e33c54b27de Mon Sep 17 00:00:00 2001 From: nosamad Date: Sat, 6 Apr 2019 02:02:42 +0200 Subject: [PATCH] removes docker connection options --- build/run_image.sh.template | 8 -------- 1 file changed, 8 deletions(-) diff --git a/build/run_image.sh.template b/build/run_image.sh.template index 7c6f0c7..9fc6b8f 100644 --- a/build/run_image.sh.template +++ b/build/run_image.sh.template @@ -34,14 +34,6 @@ if [ -n "$HOST_CONTAINER" ]; then set -- --volumes-from "$HOST_CONTAINER" "$@" fi -# setup options for connection to docker host -if [ -S "$DOCKER_HOST" ]; then - DOCKER_SOCK_GROUP="$(stat -c '%g' "$DOCKER_HOST")" - set -- -e DOCKER_SOCK_GROUP="$DOCKER_SOCK_GROUP" --group-add "$DOCKER_SOCK_GROUP" "$@" -else - set -- -e DOCKER_HOST -e DOCKER_TLS_VERIFY -e DOCKER_CERT_PATH "$@" -fi - if [ -t 0 ] && ! "$SCRIPT_ROOT/is_running_in_bg.sh" $$; then set -- --interactive "$@" fi