Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cnk3x authored Jun 1, 2022
1 parent 90ca813 commit e970802
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ journalctl -fu xunlei

## Docker


x86_64 版本已在万由的U-NAS系统的Docker测试通过,arm64 没有机器,暂时未测。

[源码: https://github.com/cnk3x/xunlei/tree/docker](https://github.com/cnk3x/xunlei/tree/docker)
Expand Down Expand Up @@ -85,7 +86,7 @@ docker run -d --name=xunlei --hostname=my-nas-1 --net=host \
docker run -d --name=xunlei --hostname=my-nas-1 --net=host \
-v=<数据目录>:/data -v=<下载目录>:/downloads \
# -e=XL_WEB_PORT=2345 \
--restart=always --privilage cnk3x/xunlei:syno
--restart=always --privileged cnk3x/xunlei:syno
```

### docker compose
Expand All @@ -96,7 +97,7 @@ docker run -d --name=xunlei --hostname=my-nas-1 --net=host \
services:
xunlei:
image: cnk3x/xunlei:syno
privilage: true
privileged: true
container_name: xunlei
hostname: my-nas-1
network_mode: host
Expand Down Expand Up @@ -124,7 +125,7 @@ services:
- <下载目录>:/downloads
restart: always
```
## 折腾了一个基于busybox的小镜像版本,可以尝试一下,x86_64没问题,arm64就不确定了,可能缺库。
用法与上面相同,把镜像改成下面即可
Expand All @@ -134,3 +135,4 @@ services:
cnk3x/xunlei:busybox
cnk3x/xunlei:busybox-syno

0 comments on commit e970802

Please sign in to comment.