fix tinc call
This commit is contained in:
parent
ef9940c1ee
commit
f00e227fd8
|
@ -580,7 +580,8 @@ tinc() {
|
||||||
echo " running ${container_name} in net ${NET_NAME}"
|
echo " running ${container_name} in net ${NET_NAME}"
|
||||||
docker run -d \
|
docker run -d \
|
||||||
--restart always \
|
--restart always \
|
||||||
--name= \
|
--name=${container_name} \
|
||||||
|
--net=host \
|
||||||
--device=/dev/net/tun \
|
--device=/dev/net/tun \
|
||||||
--cap-add NET_ADMIN \
|
--cap-add NET_ADMIN \
|
||||||
--volume ${tinc_dir}:/etc/tinc \
|
--volume ${tinc_dir}:/etc/tinc \
|
||||||
|
|
Loading…
Reference in New Issue