This guide uses Docker to run WireGuard.
For Docker installation, see Docker.
Create a directory to store your configuration and compose files.
mkdir -p /opt/wireguard
cd /opt/wireguard
Define a container for WireGuard.
services:
wireguard:
image: wireguard:latest
ports:
- "1194:1194/udp"
Start the container in the background.
docker compose up -d
Any questions?
Feel free to contact us. Find all contact information on our contact page.