unset-networking 185 B

12345
  1. #!/bin/bash
  2. for ctnr in ramen_p0 ramen_p1 ramen_p2; do
  3. docker exec --privileged $ctnr bash -c "if tc qdisc list dev eth0 | grep -q netem; then tc qdisc del dev eth0 root; fi"
  4. done