Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker wireguard and docker wireguard export #88

Closed
is0x opened this issue Mar 3, 2022 · 3 comments
Closed

Docker wireguard and docker wireguard export #88

is0x opened this issue Mar 3, 2022 · 3 comments

Comments

@is0x
Copy link

is0x commented Mar 3, 2022

hello,
I have wireguard in one docker and export in another, but I can't get it to see the wg0 interface, it always tells me not device and when I do a wg show in wireguard export it always returns it empty. How can I do to connect these two docker, because otherwise the metrics come out empty.
image

@rahmadsandy
Copy link

would be nice if you certain docker configuration ex: docker-compose.yml

@qdm12
Copy link
Collaborator

qdm12 commented Mar 9, 2022

Probably run it with network_mode: host? Or you can also connect to the Wireguard container and use it as network host with network_mode: "container:wireguardcontainername", although that will lose connection if the wireguard container restarts without the wireguard prom container not restarting as well.

@qdm12
Copy link
Collaborator

qdm12 commented Mar 9, 2022

Duplicate of #62 too

@qdm12 qdm12 closed this as completed Mar 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants