[GH-ISSUE #1332] Can not start netbird on IKuai's docker. #2086

Open
opened 2026-08-05 00:45:16 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @duanyunlun on GitHub (Nov 27, 2023).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/1332

Describe the problem
I setup the docker in IKuai's docker plugin but the netbird's log shows that I may lost some Environment variables, which I don't know what are they. Hope anyone can explain the Environment variables meaning to me:

SYS_ADMIN
SYS_RESOURCE
NET_ADMIN
NET_RAW
BPF

Here's the IKuai's docker settings (doc_LAN is the network of docker, not the Host LAN)
image

Here's the logs:

2023-11-27T08:50:33Z INFO client/internal/login.go:130: peer has been successfully registered on Management Service
2023-11-27T08:50:33Z INFO client/internal/connect.go:47: starting NetBird client version 0.24.3
2023-11-27T08:50:35Z WARN client/internal/wgproxy/factory_linux.go:15: failed to initialize ebpf proxy, fallback to user space proxy: failed to set memlock rlimit: operation not permitted
2023-11-27T08:50:35Z ERRO client/internal/routemanager/manager.go:42: server router is not supported: couldn't initialize nftables or iptables clients. Using a dummy firewall manager for route rules
2023-11-27T08:50:35Z INFO iface/module_linux.go:76: couldn't access device /dev/net/tun, go error stat /dev/net/tun: no such file or directory, will attempt to load tun module, if running on container add flag --cap-add=NET_ADMIN
......
Originally created by @duanyunlun on GitHub (Nov 27, 2023). Original GitHub issue: https://github.com/netbirdio/netbird/issues/1332 **Describe the problem** I setup the docker in IKuai's docker plugin but the netbird's log shows that I may lost some Environment variables, which I don't know what are they. Hope anyone can explain the Environment variables meaning to me: SYS_ADMIN SYS_RESOURCE NET_ADMIN NET_RAW BPF Here's the IKuai's docker settings (doc_LAN is the network of docker, not the Host LAN) ![image](https://github.com/netbirdio/netbird/assets/15923235/e36eb8f6-e077-41e7-97d7-c19dab04820e) Here's the logs: ``` 2023-11-27T08:50:33Z INFO client/internal/login.go:130: peer has been successfully registered on Management Service 2023-11-27T08:50:33Z INFO client/internal/connect.go:47: starting NetBird client version 0.24.3 2023-11-27T08:50:35Z WARN client/internal/wgproxy/factory_linux.go:15: failed to initialize ebpf proxy, fallback to user space proxy: failed to set memlock rlimit: operation not permitted 2023-11-27T08:50:35Z ERRO client/internal/routemanager/manager.go:42: server router is not supported: couldn't initialize nftables or iptables clients. Using a dummy firewall manager for route rules 2023-11-27T08:50:35Z INFO iface/module_linux.go:76: couldn't access device /dev/net/tun, go error stat /dev/net/tun: no such file or directory, will attempt to load tun module, if running on container add flag --cap-add=NET_ADMIN ...... ```
saavagebueno added the clientwaiting-feedbackthird-party-integrationdocker labels 2026-08-05 00:45:16 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#2086