Upgrade from 1.x
Pull the new image and start it with the volumes and variables you already use. Nothing needs moving.
What stays the same
/config/openvpn/*.ovpn, acredentials.confnext to it, andauth-user-pass credentials.confin the file.- qBittorrent’s settings in
/config/qBittorrent. qBittorrent 5.3 migrates them on its first start; the container writes the settings it manages in the new layout. VPN_ENABLED,VPN_USERNAME,VPN_PASSWORD,LAN_NETWORK,NAME_SERVERS,PUID,PGID,UMASK,VPN_OPTIONS,WEBUI_PORT_ENVandINCOMING_PORT_ENV.
What changes
- No root by default. Without
PUID/PGID, qBittorrent runs as 99:100. The container gives it/config/qBittorrent; a download folder owned by root needschown -R 99:100once, or setPUID/PGIDto its owner. - No default password. qBittorrent prints a temporary WebUI password in the log on its first start, or set
WEBUI_USERNAMEandWEBUI_PASSWORD. --privilegedis no longer needed. Use--cap-add NET_ADMIN --device /dev/net/tun.- Publishing port 8999 is no longer needed. Peers reach qBittorrent through the VPN, on a forwarded port; see Forward a port.
- DNS. Without
NAME_SERVERS, the VPN provider’s DNS servers are used, then 1.1.1.1 and 9.9.9.9, always through the tunnel. - A stop takes longer. qBittorrent saves its resume data before the VPN goes down. Give
docker stoptime:stop_grace_period: 150sin Compose, ordocker stop -t 150. - OpenVPN options. Options OpenVPN 2.7 removed (
keysize,ncp-disable,ns-cert-type,tls-remoteand others) are dropped or translated in a private copy, and each change is logged. Your file is not modified; see Set up OpenVPN.
Every new variable is in the environment variable reference.