v2fly / docker

docker build repo for v2fly
https://hub.docker.com/r/v2fly/v2fly-core
MIT License
753 stars 215 forks source link

docker-compose 启动时提示 unknown command #59

Closed JacksonRGB closed 1 year ago

JacksonRGB commented 1 year ago

按照 #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"
lanayalouisforever commented 1 year ago

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