title: Use tc to throttle Docker container's outgoing network bandwidth
body: <p>I'm trying to do the bandwidth throttling to the Docker containers.
  To limit the downlink bandwidth, I can first find the veth interface of the container and use tc: <code>tc qdisc add dev vethpair1 root tbf rate 1mbit latency 50ms burst 10000</code>. If I want to limit the uplink bandwidth, I need to specify <code>--cap-add=NET_ADMIN</code> when I spin up the container and use the same tc command on <code>eth0</code> inside the container. Is there any non-intrusive way to do it, so that I can administrate any container without giving it privilege?</p>