From deebad02f47c144ec6551ad5c9fedb3359fb35b1 Mon Sep 17 00:00:00 2001 From: Ilmari <39652086+IlmariKu@users.noreply.github.com> Date: Mon, 26 Feb 2024 21:03:47 +0200 Subject: [PATCH] Update README.md (#2809) Add example for Podman-run --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 60e8337d3..a8306c7db 100644 --- a/README.md +++ b/README.md @@ -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'