gravitl / netmaker

Netmaker makes networks with WireGuard. Netmaker automates fast, secure, and distributed virtual networks.
https://netmaker.io
Other
9.4k stars 547 forks source link

docker netclient option not working #747

Closed cardinalfan1 closed 2 years ago

cardinalfan1 commented 2 years ago

One of the options presented for access keys thru the netmaker ui is thru docker:

docker run -d --network host --privileged -e TOKEN=<token> -v /etc/netclient:/etc/netclient --name netclient gravitl/netclient:vv0.10.0

First, I think there is a typo in the tag, should be v0.10.0

Second, when this is run, it seems to run an instance of netmaker? When I run

docker logs netclient

The following output is given

[netmaker] 2022-02-12 16:35:53 connecting to sqlite 
[netmaker] 2022-02-12 16:35:54 database successfully connected 
[netmaker] 2022-02-12 16:35:54 no OAuth provider found or not configured, continuing without OAuth 
[netmaker] 2022-02-12 16:35:54 Agent Server successfully started on port  50051 (gRPC) 
[netmaker] 2022-02-12 16:35:54 REST Server successfully started on port  8081  (REST) 
[netmaker] 2022-02-12 16:35:54 connecting to mq broker at <ip>:1883

Thanks for the help!

afeiszli commented 2 years ago

There's an error in the workflow that cause the server image to be pushed to the client tag in the latest release, I've just pushed a client image so if you re-pull it should work.

That said, we're testing out the workflow as we speak so if it fails, it may push the old tag again; should be stable by the end of the day.

cardinalfan1 commented 2 years ago

Thanks!