Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

容器启动错误求助 #34

Closed
GoodManWEN opened this issue Feb 14, 2022 · 3 comments
Closed

容器启动错误求助 #34

GoodManWEN opened this issue Feb 14, 2022 · 3 comments

Comments

@GoodManWEN
Copy link

#12

使用该issue中提出的启动命令:

docker run \
 -d \
 --cap-add=NET_ADMIN \
 --restart=always \
 --network host \
 -e V2RAY_LOCATION_CONFIG=/etc/v2ray \
 -e V2RAY_LOCATION_ASSET=/etc/v2ray \
 -e V2RAY_BUF_READV=enable \
 -v /etc/v2ray:/etc/v2ray \
 -v /var/log/v2ray:/var/log \
 --name v2ray \
 v2fly/v2fly-core

启动后检查docker ps -a发现容器在无限重启,请问应如何修正

@kslr
Copy link
Contributor

kslr commented Feb 15, 2022

docker run \
 -d \
 --cap-add=NET_ADMIN \
 --network host \
 -e V2RAY_LOCATION_CONFIG=/etc/v2ray \
 -e V2RAY_LOCATION_ASSET=/etc/v2ray \
 -e V2RAY_BUF_READV=enable \
 -v /etc/v2ray:/etc/v2ray \
 -v /var/log/v2ray:/var/log \
 --name v2ray \
 v2fly/v2fly-core

docker logs v2ray

@GoodManWEN
Copy link
Author

日志提示配置文件位置错误,修正后启动问题已经解决。然而遇到 v2fly/v2ray-core#1609 中相同问题。服务器将alterID设置为0后,PC可以正常连接,安卓不行。

@kslr
Copy link
Contributor

kslr commented Feb 21, 2022

移动到另一个讨论

@kslr kslr closed this as completed Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants