Description
wireguard-go-docker packages the wireguard-go VPN server in a Docker image, with examples for running it under Docker Compose and on Kubernetes. The README starts with setup: you generate a key pair for the server with a command shown in the README, then run the server from a docker-compose.yaml file. For Kubernetes, you put the server's private key into a Kubernetes Secret, add at least one peer to the wg0.conf configuration, and apply the wireguard.yaml manifest with kubectl. A further example covers a basic setup with kube-dns, which the README says only works on operating systems that use openresolv. Example client configurations are included as well. The project is for people who want to run a WireGuard server in a container or in a Kubernetes cluster rather than install it directly on a host. The README is short, so it covers the main setup paths, and the details of each configuration file are left to the examples in the repository.…
Highlights
- Docker image for wireguard-go
- Docker Compose example
- Kubernetes manifest and Secret setup
- Peer configuration in wg0.conf
- Example client configurations
Ratings & Reviews
No ratings yet
Be the first to rate Wireguard Go Docker.
People also visit
Compose Transmission Wireguard
Run Transmission through a WireGuard tunnel with Docker Compose
Wireguard Go Docker FAQ
What is this?
A Docker image for running a wireguard-go VPN server, with setup examples.
How do I start a server?
Generate a key pair for the server, then run the container using the docker-compose.yaml example.
Can I run it on Kubernetes?
Yes. Put the server's private key in a Secret, add at least one peer to wg0.conf, and apply the wireguard.yaml manifest.
Is there a DNS caveat?
The README says the basic kube-dns example only works on systems that use openresolv.
Where is the project?
The repository is public on GitHub at masipcat/wireguard-go-docker.
What are the best Wireguard Go Docker alternatives?
Popular alternatives to Wireguard Go Docker include Compose Transmission Wireguard, Wireguard Docs and Docker Pritunl. See all Wireguard Go Docker alternatives

