mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-18 08:26:35 +00:00
Add /dev/net/tun for container running in userspace (#589)
This commit is contained in:
@@ -46,6 +46,9 @@ services:
|
|||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
- SYS_ADMIN
|
- SYS_ADMIN
|
||||||
- SYS_RESOURCE
|
- SYS_RESOURCE
|
||||||
|
devices:
|
||||||
|
# Required when using userspace mode or when kernel module is not available
|
||||||
|
- /dev/net/tun
|
||||||
network_mode: host
|
network_mode: host
|
||||||
environment:
|
environment:
|
||||||
- NB_SETUP_KEY=<SETUP KEY>
|
- NB_SETUP_KEY=<SETUP KEY>
|
||||||
|
|||||||
Reference in New Issue
Block a user