笔记笔记
  • Home
  • AI&ML
  • Example
  • Zoo
  • 关于
⌘ K
docker 笔记
常用容器
Sonatype Nexus
GitLab CE
BitTorrent Tracker
搜索引擎
Debian
最后更新时间:
Copyright © 2023-2024 | Powered by dumi | GuoDapeng | 冀ICP备20004032号-1 | 冀公网安备 冀公网安备 13024002000293号

TABLE OF CONTENTS

‌
‌
‌
‌

BitTorrent Tracker

# 进入容器
docker run -it node:22.14 bash
npm install -g bittorrent-tracker
# 退出容器;也可以测试一下,执行 `bittorrent-tracker` 命令。
# 创建镜像; bittorrent-tracker-node 是我自己命名的镜像名
docker commit <容器ID> bittorrent-tracker-node:11.2.1
# 导入到需要部署的服务器上,启动容器
docker run -d \
--name node_bittorrent_tracker \
-p 8181:8000 \
bittorrent-tracker-node:11.2.1 \
bittorrent-tracker

访问状态页面

http://x.x.x.x:8180/stats

记得配置防火墙,允许端口访问,允许 TCP UDP 协议。

制作种子时 Tracker 使用

udp://8.152.3.224:8180