doc: add docker and snap install methods

This commit is contained in:
Vladislav Yarmak 2020-05-20 02:01:04 +03:00
parent 9a557a0c24
commit ee6af4dd3f
1 changed files with 21 additions and 0 deletions

View File

@ -24,6 +24,27 @@ Alternatively, you may install dumbproxy from source. Run within source director
go install
```
#### Docker
Docker image is available as well. Here is an example for running proxy as a background service:
```sh
docker run -d \
--security-opt no-new-privileges \
-p 8080:8080 \
--restart unless-stopped \
--name dumbproxy \
yarmak/dumbproxy
```
#### Snap Store
[![Get it from the Snap Store](https://snapcraft.io/static/images/badges/en/snap-store-black.svg)](https://snapcraft.io/dumbproxy)
```bash
sudo snap install dumbproxy
```
## Usage
Just run program and it'll start accepting connections on port 8080 (default).