Wireguard on host or in Docker container?

This page summarizes the projects mentioned and recommended in the original post on /r/docker

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. wg-ui

    Discontinued WireGuard Web UI for self-serve client configurations, with optional auth.

    I run a lightweight VM just for wireguard with a kernel that has it built in. On the same VM I installed docker and run https://github.com/EmbarkStudios/wg-ui which makes it way easier to create profiles.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. wirehole

    WireHole is a combination of WireGuard, Pi-hole, and Unbound in a docker-compose project with the intent of enabling users to quickly and easily create a personally managed full or split-tunnel WireGuard VPN with ad blocking capabilities thanks to Pi-hole, and DNS caching, additional privacy options, and upstream providers via Unbound.

    Try Wirehole, runs wireguard + pihole in containers so you have the added bonus of ad blocking. Just run the docker-compose file and you're good to go.

  4. wg-easy

    Discontinued The easiest way to run WireGuard VPN + Web-based Admin UI. [Moved to: https://github.com/wg-easy/wg-easy] (by WeeJeWel)

    We happily run wg-easy in Docker.

  5. docker-wireguard

    FWIW there is https://github.com/linuxserver/docker-wireguard/tree/alpine, which does just that really. It's a little more complicated because it still supports all the peer config envs, etc. but it's much smaller than the normal image because it doesn't have support for compiling and enabling the kernel module.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • PiVPN v4.6.0: The End

    6 projects | news.ycombinator.com | 6 Apr 2024
  • Wireguard in Proxmox

    2 projects | /r/selfhosted | 15 Dec 2022
  • An update for our self-hosted WireGuard-based VPN server, Firezone (now with 2FA)

    5 projects | /r/selfhosted | 27 Dec 2021
  • wg-easy vs WireGuard: GUI vs Command Line

    1 project | dev.to | 13 Mar 2026
  • 8M Users' AI Conversations Sold for Profit by "Privacy" Extensions

    1 project | news.ycombinator.com | 16 Dec 2025

Did you know that Dockerfile is
the 38th most popular programming language
based on number of references?