迅雷离线下载 docker 镜像, 随便一台能上网的服务器都能成为下载利器哦~
再也不用担心迅雷扫描你的整块磁盘了.
启动完成后内存占用6M左右,,,据其他小伙伴说你这个占存小
docker pull tossp/xware:latest
mkdir data
docker run -d \
--name=xl \
--net=host \
-v $(pwd)/data:/TDDOWNLOAD \
tossp/xware
docker ps
// output:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d79de7c8daca tossp/xware:3.0.0 "/bin/sh -c ./start. 46 hours ago Up 32 hours 0.0.0.0:32769->9000/tcp xl
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.
绑定成功后就可以开心地使用了.
DNS服务器用的阿里云的223.5.5.5,服务器在国外可以自己修改一下DNS,当然也可以不管,,,,,
echo -e "nameserver 223.5.5.5\nnameserver 223.6.6.6\nnameserver 8.8.8.8" > /etc/resolv.conf
其实映射了全部端口也没发现速度有什么不同T_T.....
EXPOSE 9000/tcp
EXPOSE 8002/tcp
EXPOSE 9988/tcp
EXPOSE 4662/tcp
EXPOSE 1080/tcp
EXPOSE 4661/udp
EXPOSE 888/udp
EXPOSE 666/udp
EXPOSE 3027/udp
VOLUME ["/TDDOWNLOAD"]
至于修改任务数,,,自己用chrome的审查元素吧。。。这个没什么好说的
Content type
Image
Digest
Size
42.6 MB
Last updated
almost 10 years ago
docker pull tossp/xware