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 \