[GH-ISSUE #1678] Netbird docker does not work on unirad #2943

Open
opened 2026-08-05 00:49:46 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @bolavefasfas on GitHub (Mar 7, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/1678

Describe the problem

Netbird Client docker docker run or the template available both does not work gives error

 docker run --rm \
 --cap-add=NET_ADMIN \
 -e NB_SETUP_KEY=mykey \
 -v /mnt/user/appdata/netbird:/etc/netbird \
 netbirdio/netbird:latest
Unable to find image 'netbirdio/netbird:latest' locally
latest: Pulling from netbirdio/netbird
c926b61bad3b: Pull complete 
3d46ac1fd1d3: Pull complete 
d57cae2809a3: Pull complete 
Digest: sha256:fc1bfc2f7ee07b3fe80033638813a08eb675068257ac82dec0c43284f7273333
Status: Downloaded newer image for netbirdio/netbird:latest
2024-03-07T11:35:34Z INFO client/internal/config.go:125: generating new config /etc/netbird/config.json
2024-03-07T11:35:42Z ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded
2024-03-07T11:35:42Z ERRO client/internal/login.go:96: failed connecting to the Management service https://api.netbird.io:443 context deadline exceeded
2024-03-07T11:35:42Z WARN client/cmd/root.go:204: retrying Login to the Management service in 920.058846ms due to error context deadline exceeded
2024-03-07T11:35:48Z ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded
2024-03-07T11:35:48Z ERRO client/internal/login.go:96: failed connecting to the Management service https://api.netbird.io:443 context deadline exceeded
2024-03-07T11:35:48Z WARN client/cmd/root.go:204: retrying Login to the Management service in 867.674703ms due to error context deadline exceeded
2024-03-07T11:35:54Z ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded
2024-03-07T11:35:54Z ERRO client/internal/login.go:96: failed connecting to the Management service https://api.netbird.io:443 context deadline exceeded
2024-03-07T11:35:54Z WARN client/cmd/root.go:204: retrying Login to the Management service in 2.214475885s due to error context deadline exceeded
2024-03-07T11:36:01Z ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded
2024-03-07T11:36:01Z ERRO client/internal/login.go:96: failed connecting to the Management service https://api.netbird.io:443 context deadline exceeded
2024-03-07T11:36:01Z WARN client/cmd/root.go:204: retrying Login to the Management service in 3.002547213s due to error context deadline exceeded
2024-03-07T11:36:09Z ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded
2024-03-07T11:36:09Z ERRO client/internal/login.go:96: failed connecting to the Management service https://api.netbird.io:443 context deadline exceeded
Error: foreground login failed: backoff cycle failed: context deadline exceeded

To Reproduce

Steps to reproduce the behavior:

  1. Go to unraid ssh terminal top right of unraid header bar
  2. Click on paste
 docker run --rm \
 --cap-add=NET_ADMIN \
 -e NB_SETUP_KEY=mykey \
 -v /mnt/user/appdata/netbird:/etc/netbird \
 netbirdio/netbird:latest
  1. Scroll down to see logs
  2. See error

Expected behavior

It should just connect automatically and show a green dot in admin portal https://app.netbird.io/peers
Its howing for my windows device but not for unriad.

Are you using NetBird Cloud?

Yes I am usng your hosted version I am not selfhosting it.

Add any other context about the problem here.

I tried the default template by
image

And the offical docker run command both produced same result
Though I had noticed one diffrence
https://api.wiretrustee.com:33073
https://api.netbird.io:443
These were the urls it was tring to access and failed
I even tried priviledged for the container in addition to cap add nothing worked.

Originally created by @bolavefasfas on GitHub (Mar 7, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/1678 **Describe the problem** Netbird Client docker docker run or the template available both does not work gives error ``` docker run --rm \ --cap-add=NET_ADMIN \ -e NB_SETUP_KEY=mykey \ -v /mnt/user/appdata/netbird:/etc/netbird \ netbirdio/netbird:latest Unable to find image 'netbirdio/netbird:latest' locally latest: Pulling from netbirdio/netbird c926b61bad3b: Pull complete 3d46ac1fd1d3: Pull complete d57cae2809a3: Pull complete Digest: sha256:fc1bfc2f7ee07b3fe80033638813a08eb675068257ac82dec0c43284f7273333 Status: Downloaded newer image for netbirdio/netbird:latest 2024-03-07T11:35:34Z INFO client/internal/config.go:125: generating new config /etc/netbird/config.json 2024-03-07T11:35:42Z ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded 2024-03-07T11:35:42Z ERRO client/internal/login.go:96: failed connecting to the Management service https://api.netbird.io:443 context deadline exceeded 2024-03-07T11:35:42Z WARN client/cmd/root.go:204: retrying Login to the Management service in 920.058846ms due to error context deadline exceeded 2024-03-07T11:35:48Z ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded 2024-03-07T11:35:48Z ERRO client/internal/login.go:96: failed connecting to the Management service https://api.netbird.io:443 context deadline exceeded 2024-03-07T11:35:48Z WARN client/cmd/root.go:204: retrying Login to the Management service in 867.674703ms due to error context deadline exceeded 2024-03-07T11:35:54Z ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded 2024-03-07T11:35:54Z ERRO client/internal/login.go:96: failed connecting to the Management service https://api.netbird.io:443 context deadline exceeded 2024-03-07T11:35:54Z WARN client/cmd/root.go:204: retrying Login to the Management service in 2.214475885s due to error context deadline exceeded 2024-03-07T11:36:01Z ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded 2024-03-07T11:36:01Z ERRO client/internal/login.go:96: failed connecting to the Management service https://api.netbird.io:443 context deadline exceeded 2024-03-07T11:36:01Z WARN client/cmd/root.go:204: retrying Login to the Management service in 3.002547213s due to error context deadline exceeded 2024-03-07T11:36:09Z ERRO management/client/grpc.go:64: failed creating connection to Management Service context deadline exceeded 2024-03-07T11:36:09Z ERRO client/internal/login.go:96: failed connecting to the Management service https://api.netbird.io:443 context deadline exceeded Error: foreground login failed: backoff cycle failed: context deadline exceeded ``` **To Reproduce** Steps to reproduce the behavior: 1. Go to unraid ssh terminal top right of unraid header bar 2. Click on paste ``` docker run --rm \ --cap-add=NET_ADMIN \ -e NB_SETUP_KEY=mykey \ -v /mnt/user/appdata/netbird:/etc/netbird \ netbirdio/netbird:latest ``` 3. Scroll down to see logs 4. See error **Expected behavior** It should just connect automatically and show a green dot in admin portal https://app.netbird.io/peers Its howing for my windows device but not for unriad. **Are you using NetBird Cloud?** Yes I am usng your hosted version I am not selfhosting it. Add any other context about the problem here. I tried the default template by ![image](https://github.com/netbirdio/netbird/assets/82230241/fafc6570-aa19-452e-a784-838d1001f982) And the offical docker run command both produced same result Though I had noticed one diffrence https://api.wiretrustee.com:33073 https://api.netbird.io:443 These were the urls it was tring to access and failed I even tried priviledged for the container in addition to cap add nothing worked.
saavagebueno added the waiting-feedbacktriage-needed labels 2026-08-05 00:49:46 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#2943