From f00e227fd811cbf6cac1f61c5473325ae147747b Mon Sep 17 00:00:00 2001 From: Frieder Schlesier Date: Fri, 15 Jun 2018 18:24:49 +0200 Subject: [PATCH] fix tinc call --- .dockerfunc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.dockerfunc b/.dockerfunc index 37cc074..7d5349b 100755 --- a/.dockerfunc +++ b/.dockerfunc @@ -580,7 +580,8 @@ tinc() { echo " running ${container_name} in net ${NET_NAME}" docker run -d \ --restart always \ - --name= \ + --name=${container_name} \ + --net=host \ --device=/dev/net/tun \ --cap-add NET_ADMIN \ --volume ${tinc_dir}:/etc/tinc \