v2fly/docker

docker-compose 启动时提示 unknown command

JacksonRGB opened this issue · 1 comments

按照 #46 修改后还是返回该错误,docker run 启动时正常

proxy | v2ray run -c /etc/v2ray/config.json: unknown command
proxy | Run 'v2ray help run -c' for usage.

container_name: proxy
image: v2fly/v2fly-core:v5.1.0
volumes:
  - $PWD/v2ray-config.json:/etc/v2ray/config.json
command:
  - "run -c /etc/v2ray/config.json"

docker run 启动,你好用吗。我conf.json是从windows客户端v2rayN 导出的客户端配置,把配置里面的127.0.0.1改成0.0.0.0。docker可以正常启动,日志也 显示收到访问请求,但是无法连接,v2rayN是没问题的。server是搬瓦工