An open API service indexing awesome lists of open source software.

https://github.com/whtsky/docker-xware

https://github.com/yinheli/docker-thunder-xware
https://github.com/whtsky/docker-xware

Last synced: 8 months ago
JSON representation

https://github.com/yinheli/docker-thunder-xware

Awesome Lists containing this project

README

          

# 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.
```

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