From 5fd5db55053a64a86f5ff80269da84c66ab6fa11 Mon Sep 17 00:00:00 2001 From: Kirill Leonov Date: Mon, 12 Aug 2024 12:17:37 +0300 Subject: [PATCH] update readme --- README.md | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 6661022..0b76beb 100644 --- a/README.md +++ b/README.md @@ -28,21 +28,7 @@ sudo usermod -aG docker $(whoami) exit ``` -### 2. Build an image from a Dockerfile - -clone this repository and build the image from the dockerfile: - -```bash -git clone https://github.com/leonovk/wg-rest-api.git -``` - -```bash -cd wg-rest-api -``` - -```bash -docker build . -t wg-rest-api -``` +### 2. Run WireGuard REST API To run just run the command: @@ -56,7 +42,7 @@ docker run -d \ -p 3000:3000 \ --cap-add=NET_ADMIN \ --restart unless-stopped \ -wg-rest-api +leonovk/wg-rest-api ``` **If you can't start the container, try entering the command in one line**