/docker-thunder-xware

Dockerizing thunder xware

Primary LanguageShell

Dockerizing thunder xware

迅雷离线下载 docker 镜像, 随便一台能上网的服务器都能成为下载利器哦~

再也不用担心迅雷扫描你的整块磁盘了.

使用

拉取镜像

docker pull yinheli/docker-thunder-xware:latest

创建一个下载目录. 用于挂载卷

mkdir data

运行

docker run -d \
        --name=xware \
        --net=host \
        -v $(pwd)/data:/app/TDDOWNLOAD \
        yinheli/docker-thunder-xware

查看运行情况

docker ps
// output:
CONTAINER ID        IMAGE                                 COMMAND             CREATED             STATUS              PORTS               NAMES
c8a3d047af71        yinheli/docker-thunder-xware:latest   "./start.sh"        4 seconds ago       Up 3 seconds                            xware

查看日志(激活码)/到迅雷增加设备

docker logs xware
// output:
killall: ETMDaemon: no process killed
killall: EmbedThunderManager: no process killed
killall: vod_httpserver: no process killed
initing...
try stopping xunlei service first...
setting xunlei runtime env...
port: 9000 is usable.

YOUR CONTROL PORT IS: 9000

starting xunlei service...
Connecting to 127.0.0.1:9000 (127.0.0.1:9000)
setting xunlei runtime env...
port: 9000 is usable.

YOUR CONTROL PORT IS: 9000

starting xunlei service...

getting xunlei service info...

THE ACTIVE CODE IS: xxx

go to http://yuancheng.xunlei.com, bind your device with the active code.
finished.

绑定成功后就可以开心地使用了.