From 777170b4f692c70307a1e56b8598cd606a2a8b71 Mon Sep 17 00:00:00 2001 From: scottyhardy Date: Tue, 5 May 2020 15:07:01 +1000 Subject: [PATCH] feat: add --network passthrough #60 --- docker-wine | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-wine b/docker-wine index cb68f6b..d36d036 100755 --- a/docker-wine +++ b/docker-wine @@ -48,6 +48,8 @@ print_help () { echo " --env=VALUE Specify additional environment variable(s) to be passed" echo " to the container. Uses standard docker syntax and" echo " multiple statements are allowed" + echo " --network=VALUE Specify the network to connect the container to. Uses" + echo " standard docker syntax" echo " --volume=VALUE Specify additional volume(s) to be mounted. Uses" echo " standard docker syntax and multiple statements are" echo " allowed" @@ -302,7 +304,7 @@ while [ $# -gt 0 ]; do --secure-password=*) add_run_arg --env="USER_PASSWD=${1#*=}" ;; - --device=*|--env=*|--volume=*) + --device=*|--env=*|--network=*|--volume=*) add_run_arg "$1" ;; --workdir=*)