Skip to content

Commit

Permalink
Update README.md (#2809)
Browse files Browse the repository at this point in the history
Add example for Podman-run
  • Loading branch information
IlmariKu authored Feb 26, 2024
1 parent f6fe7a9 commit deebad0
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,25 @@ $ docker run --cap-add=NET_ADMIN -d \
haugene/transmission-openvpn
```

### Podman run

Beware: container is run as privileged, meaning it has full access to host OS.

```
$ podman run --privileged -d \
-v /your/storage/path/:/data \
-v /your/config/path/:/config \
-e OPENVPN_PROVIDER=PIA \
-e OPENVPN_CONFIG=france \
-e OPENVPN_USERNAME=user \
-e OPENVPN_PASSWORD=pass \
-e LOCAL_NETWORK=192.168.0.0/16 \
--log-driver k8s-file \
--log-opt max-size=10m \
-p 9091:9091 \
haugene/transmission-openvpn
```

### Docker version 3.x Compose
```
version: '3.3'
Expand Down

0 comments on commit deebad0

Please sign in to comment.