I want to setup a docker container for a peer 2 peer app. This app doesn\'t have app level rate limiting so I\'m attempting to set a limit at the container level. I would like
You could use the iptables limits module. For example, you could add a rule to the PREROUTING table using the options "-m limit --limit 10/s" to limit a particular port to receive only 10 connections per second.