ntop/ntopng当前为 ntopng 稳定版镜像。如需 nightly 构建版本,请使用 ntop/ntopng.dev 镜像(Docker Hub 地址)。
通过以下 Docker 命令启动 ntopng:
bashdocker run -it -p 3000:3000 -v $(pwd)/ntopng.license:/etc/ntopng.license:ro --net=host ntop/ntopng:latest -i eth0
-it:以交互模式运行容器,便于查看实时输出。-p 3000:3000:将容器的 3000 端口映射到主机 3000 端口,用于访问 Web 界面。-v $(pwd)/ntopng.license:/etc/ntopng.license:ro:(非社区版需添加)将宿主机当前目录下的 ntopng.license 文件挂载到容器内,供 ntopng 识别许可证(ro 表示只读)。--net=host:使用主机网络模式,确保容器能直接访问主机网卡。ntop/ntopng:latest:指定使用最新版稳定镜像。-i eth0:指定要捕获流量的网卡,请将 eth0 替换为你的主机实际网卡名称(如 ens33、wlan0 等)。启动容器后,通过浏览器访问 `[***] 打开 ntopng 界面。默认登录信息:
adminadmin-v 挂载许可证的参数)。-v 参数挂载许可证文件,否则容器内的 ntopng 无法识别许可证。manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务