I managed to set up qbittorrent on docker and it works flawlessly!
I had some issues though with downloading speeds with frequent drops. As all memory and caching options is hidden in webui I added these settings to qBittorrent.conf and it did a massive improvement. I now have full speed without drops.
(First make a backup of config!)
Add these to [Bittorrent] section:
Add to [Preferences] section: