not sure about any existing solutions, but you could assign specific ports to containers and record network traffic on your router.
Self-Hosted Main
A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.
For Example
- Service: Dropbox - Alternative: Nextcloud
- Service: Google Reader - Alternative: Tiny Tiny RSS
- Service: Blogger - Alternative: WordPress
We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.
Useful Lists
- Awesome-Selfhosted List of Software
- Awesome-Sysadmin List of Software
NtopNG might work for you..
Maybe even observium
https://grafana.com/grafana/dashboards/893-main/
this would allow you to log the network usage per docker container, and you can then use grafana's integration function to get total data sent/recieved over a period of time.
this was just using a quick google search
Ah, it makes use of cadvisor which I already have. Seems good, I'll check it out