HUB
Sign inSign up

918178/iftop

By 918178

•Updated about 1 year ago

主要用于群晖这些无法安装但有Docker的,支持多平台使用起来更方便

Image
0

3.1K

918178/iftop repository overview

# 快速部署(退出后停止并删除容器)
docker run -it --rm --net=host 918178/iftop:latest  # 无参数运行 iftop
docker run -it --rm --net=host 918178/iftop:latest -P -i eth0  # 显示主机名及其端口+指定网卡
  # -i interface 监听指定网络接口
  # -P 显示主机名及其端口

# 快速部署(长时间使用)
docker run -it--name iftop --net=host 918178/iftop:latest  # 无参数运行 iftop
  docker attach iftop  # 进入容器
  # 依次按 Ctrl+P 和 Ctrl+Q 退出会话(容器继续在后台运行)

netstat -pantu | grep [port]  # 根据对应端口定位进程
Tag summary
Recent tags
Content type
Image
Digest
sha256:d2dc4a9d0…
Size
3.9 MB
Last updated
about 1 year ago
docker pull 918178/iftop:latest