aphex3k / docker-alpine-wireguard

minimalist alpine linux with WireGuard VPN

Home Page:https://hub.docker.com/r/aphex3k/alpine-wireguard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker + WireGuard

This docker image is based on the official docker alpine image with added support for WireGuard VPN.

Usage

Network Admin Capabilities: It might be required to run this container using --cap-add NET_ADMIN in order to configure the virtual VPN network interface inside the docker VM properly.

/etc/wireguard/config: At the start of the container WireGuard will launch the wg0 interface base on the wg0.conf file in this directory. If no file is present wg-startup.sh will generate an example file including a new set of private/public keys.

Example command:

docker run -d -it --rm --cap-add NET_ADMIN -v ${PWD}/config:/etc/wireguard/config aphex3k/alpine-wireguard:latest

About

minimalist alpine linux with WireGuard VPN

https://hub.docker.com/r/aphex3k/alpine-wireguard

License:MIT License


Languages

Language:Shell 71.4%Language:Dockerfile 28.6%