From 13749f1e0498d920f62d92caa10919e8afc961e9 Mon Sep 17 00:00:00 2001 From: Emile Nijssen Date: Sun, 18 Jul 2021 17:04:20 +0200 Subject: [PATCH 1/3] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index d75733f..4f451b4 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ You have found the easiest way to install & manage WireGuard on any Linux host! ## Requirements * A host with a kernel that supports WireGuard (all modern kernels). +* A host with Docker installed. ## Installation From f77c26dc0c402bded554d50e3494491cf7b16a24 Mon Sep 17 00:00:00 2001 From: Emile Nijssen Date: Mon, 19 Jul 2021 11:26:42 +0200 Subject: [PATCH 2/3] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 4f451b4..0a1655b 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,12 @@ $ sudo usermod -aG docker $(whoami) $ bash ``` +You might need to install docker-compose separately. For example, on a Raspberry Pi: + +```bash +sudo apt-get install docker-compose +``` + ### 2. Configure WireGuard Run these commands to prepare and configure WireGuard. From a4592849579470675b13b86b41a641faeb258c71 Mon Sep 17 00:00:00 2001 From: Juan Calderon-Perez <835733+gaby@users.noreply.github.com> Date: Wed, 15 Sep 2021 21:35:37 -0400 Subject: [PATCH 3/3] Add dumb-init to avoid zombie processes. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index de1b453..89f0c08 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM node:14-alpine # Install Linux packages -RUN apk add -U wireguard-tools +RUN apk add -U --no-cache wireguard-tools dumb-init # Copy Web UI COPY src/ /app/ @@ -16,4 +16,4 @@ EXPOSE 51821/tcp ENV DEBUG=Server,WireGuard # Run Web UI -CMD ["node", "server.js"] +CMD ["/usr/bin/dumb-init", "node", "server.js"]