Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
leonovk committed Aug 12, 2024
1 parent 3c26e99 commit 5fd5db5
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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**
Expand Down

0 comments on commit 5fd5db5

Please sign in to comment.