mirror of
https://github.com/clearlinux/dockerfiles.git
synced 2026-06-29 17:17:05 +00:00
8a8844c3e6
To help analyze the container image size by layers, assume each container image be comprised of: Layer 1: clearlinux:latest Layer 2: swupd update Other layers: the container configurations With this, we can continue to optimize layer size accordingly. Signed-off-by: Qi Zheng <qi.zheng@intel.com>
iperf3 service on clearlinux
Iperf is a widely used tool for network performance measurement and tuning.
Build
sudo docker build -t clearlinux/iperf .
Run as Server:
sudo docker run -it --rm --name=iperf-srv -p 5201:5201 clearlinux/iperf -s
Run as Client (first get server IP address):
sudo docker run -it --rm --network=host clearlinux/iperf -c <SERVER_IP>
Extra Build ARGs
swupd_argsSpecifies SWUPD flags
Default build args in Docker are on: https://docs.docker.com/engine/reference/builder/#arg