I’m using a wireguard docker container to provide vpn connection to a qbittorrent container. When I compare it to wireguard on linux and the qbittorrent application, the same torrent is way slower. My server gets 2Mbit/s and my computer 15Mbit/s The 15Mbit/s is where my internet connection caps, while downloading that fast I can’t watch YT videos. They both are in the same network using the same vpn provider and same endpoint.
for qbittorrent docker-compose I use network_mode: service:wireguard
It depends how wireguard is implemented.
The container may be running wireguard in userspace, instead of the OS’s kernel implementation.