January 17, 20242 yr Hi Would be very cool to be able to on per docker level, limit the amount of network bandwith the docker can use
January 22, 20242 yr Author On 1/20/2024 at 10:12 AM, BVD said: This should do what you're looking for: https://github.com/lukaszlach/docker-tc Yes, actually also found that - but i can't seem to understand to get it to work when trying to run it through the docker console
January 22, 20242 yr Not sure what your background might be (whether veteran IT, hobbyist, etc), but this would almost certainly require some docker architectural knowledge to set up properly for your specific environment imo - depending on your setup, it may need to run in privileged mode (as root), for example, in order to allow it to control all other containers' network flows, have awareness of any docker networks you've created, etc. Then as long as you're familiar linux, it's all just mapping what you'd normally use for traffic shaping on a linux host over to the equivalent docker components (e.g. NIC => docker network, container ID => host). If looking for an easier way to handle it, you could chose to enable host access to custom networks and assign them their own addresses, then manage traffic shaping via either your switch or router's UI. That's probably the most straightforward method for most, and what I'd probably recommend 👍
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.