qBittorrent
sudo cp /usr/share/containers/containers.conf /etc/containers/
sudo mkdir -p /opt/cni/bin
sudo mkdir -p /etc/cni/net.d
curl -L https://github.com/containernetworking/plugins/releases/download/v1.3.0/cni-plugins-linux-amd64-v1.3.0.tgz | sudo tar -C /opt/cni/bin -zxv
# /etc/containers/containers.conf
[network]
network_backend = "cni"
cni_config_dir = "/etc/cni/net.d"
sudo podman network create --interface-name net-external --ipv6 net-external
sudo podman run -d --name=qbittorrent \
-e PUID=985 -e PGID=985 -e TZ=Europe/Paris -e WEBUI_PORT=8080 \
-p '[::1]:8080:8080' -p 127.0.0.1:8080:8080 -p 6881:6881 -p 6881:6881/udp \
-v /var/opt/qbittorrent/config:/config:Z -v /data/downloads:/downloads:Z \
--restart always \
--network net-external \
lscr.io/linuxserver/qbittorrent:latest
sudo podman generate systemd --new --name qbittorrent | sudo tee /etc/systemd/system/qbittorrent.service