mirror of
https://github.com/falk-werner/webfuse
synced 2024-10-27 20:34:10 +00:00
removes docker connection options
This commit is contained in:
parent
e43fa68065
commit
07caa6b31c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user