You can define networking settings within Docker itself. For this reason, I only use compose files, as opposed to docker run. See the documentation to better understand how it works: Networking | Docker Docs and use keyword internet searches to understand how you can route a vpn network within docker.
Hope this helps as it does get technical. You also have docker community support and vpn community support as well.