gravitl / netmaker

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

After creating a network, execute WG show. There is no network interface. #650

Closed Pinkpiglet closed 2 years ago

Pinkpiglet commented 2 years ago

version: "3.4"

services: netmaker: container_name: netmaker image: gravitl/netmaker:v0.9.4 volumes:

Pinkpiglet commented 2 years ago

20220128032906

afeiszli commented 2 years ago

Hi, this is because by deafult, we do not use host networking on the server. That means the interface is inside of the netmaker server container, not on the host machine.

If you run "docker exec -it netmaker /bin/sh" and then run "wg show" you will see the interface.

Pinkpiglet commented 2 years ago

okay, thank you.