enwaiax / x-ui

x-ui in docker version
MIT License
177 stars 61 forks source link

xray版本设置没做数据持久化 #7

Closed zuig closed 1 year ago

zuig commented 1 year ago

换了xray版本,重启docker又恢复到默认的1.6.5

enwaiax commented 1 year ago

是在页面上更新的吗

zuig commented 1 year ago

image 就系统状态里面去切换xray版本

enwaiax commented 1 year ago

当前版本docker镜像里xray为1.7.2 版本,从UI更新到最新版本1.7.5后重启x--ui

root@localhost ~/workspace/x-ui main
❯ docker exec xui ls /usr/local/bin/bin                       
config.json
geoip.dat
geosite.dat
xray-linux-arm64

root@localhost  ~/workspace/x-ui main
❯ docker exec xui  /usr/local/bin/bin/xray-linux-arm64 version
Xray 1.7.5 (Xray, Penetrates Everything.) Custom (go1.20 linux/arm64)
A unified platform for anti-censorship.

root@localhost  ~/workspace/x-ui main
❯ docker restart xui                                          
xui

root@localhost ~/workspace/x-ui main
❯ docker exec xui  /usr/local/bin/bin/xray-linux-arm64 version
Xray 1.7.5 (Xray, Penetrates Everything.) Custom (go1.20 linux/arm64)
A unified platform for anti-censorship.