Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个程序在一个 docker 容器中运行,它们相互通信。因为容器主要在一台机器上运行,所以我想为这些容器模拟一个 WAN 来模拟丢包、延迟、延迟等。是否有一个轻量级的解决方案?
我已经查找了 WANem,但似乎我需要将它放在一个额外的虚拟机中,并将它放在 docker 容器的通信之间。理想的情况是在每个 docker 容器中运行一个模拟延迟、丢包等的程序。