alpine-qbittorrent-openvpn
alpine-qbittorrent-openvpn copied to clipboard
container overlay size increase when a new torrent is added
Information
container overlay size increases when a new torrent is added; [root@ms2 var]# du -Sh /var/lib/docker/overlay2/0c24011afcc11fb3a1f86874a81b59f659ce02fa017ad1ee5603831c2a4d3193/merged/run/s6/services/qbittorrent | sort -rh | head -5 97G /var/lib/docker/overlay2/0c24011afcc11fb3a1f86874a81b59f659ce02fa017ad1ee5603831c2a4d3193/merged/run/s6/services/qbittorrent 12K
Also the incomplete torrent files are created on the correct location
Current setup
Docker on CentOS7 host
guillaumedsde/alpine-qbittorrent-openvpn:latest@sha256:2ae14174f55be6a17a7128f2d0352d3b05239a00eaf26b4801691d7b213becda
docker-compose.yml
file or docker run
command
how did you start the container? (don't forget to use backticks for creating a proper code block)
version: "3.3"
qbittorrentvpn:
image: guillaumedsde/alpine-qbittorrent-openvpn:latest
container_name: qbittorrentvpn
hostname: qbittorrentvpn_MS2
restart: always
networks:
t2_proxy:
ipv4_address: ${QBITTORRENTVPN_IP_INTERNAL} # You can specify a static IP,192.168.90.230
cap_add:
- NET_ADMIN
ports:
- "$QBITTORRENTVPN_SEED_PORT:6881"
- "$QBITTORRENTVPN_SEED_PORT:6881/udp"
- "$QBITTORRENTVPN_GUI_PORT:8080"
privileged: true
environment:
OPENVPN_USERNAME: $EXPRESSVPN_USERNAME
OPENVPN_PASSWORD: $EXPRESSVPN_PASSWORD
OPENVPN_PROVIDER: $VPN_PROVIDER
OPENVPN_CONFIG: $VPN_SERVER
LAN_NETWORK: $LOCAL_NETWORK
NAME_SERVERS: 8.8.8.8,209.222.18.222,84.200.69.80,37.235.1.174,209.222.18.218,37.235.1.177,84.200.70.40
PUID: $PUID
PGID: $PGID
TZ: $TZ
UMASK_SET: 002
volumes:
- $USERDIR/QBittorrentVPN/config:/config
- $GDRIVE_1/downloads/complete:/downloads/complete
- $GDRIVE_1/downloads/incomplete:/downloads/incomplete
- /etc/localtime:/etc/localtime:ro
labels:
- "docker.group=922-MS2-Download"
Attempted Fix(es)
Download location is set to be on a different drive than /var, and it
I restarted the container and the overlay files are removed; the Qbittorrent GUI shows wrong download history:
And incomplete download files are still available in download/incomplete folder