We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
请问出现此问题该如何解决,谢谢
root@ubuntu-1:~# sudo docker run -d --rm --name v2ray -p 443:443 -p 80:80 -v $HOME/.caddy:/root/.caddy c258c4fff5f9/v2ray_ws:v0.9.3 9919.wpwp.work V2RAY_WS 0890b53a-e3d4-4726-bd2b-52574e8588c4 3o38nn5h 0 xray && sleep 3s && sudo docker logs v2ray Unable to find image 'c258c4fff5f9/v2ray_ws:v0.9.3' locally v0.9.3: Pulling from c258c4fff5f9/v2ray_ws ba3557a56b15: Pull complete 27e0fc8fb077: Pull complete b1c36bdd26fc: Pull complete 1d33ba0d9a56: Pull complete 33035de4b606: Pull complete 237ecdade207: Pull complete 8a8f73db97aa: Pull complete f89c5c176ca7: Pull complete afe43fb9968c: Pull complete 803fc62177f4: Pull complete 4c42f998e5c5: Pull complete 2ea037c873b6: Pull complete 000a98e8272f: Pull complete Digest: sha256:d499b38fba3e26f2962faa7e7ad2991c9fcb304ae6ac5501db062615a117059e Status: Downloaded newer image for c258c4fff5f9/v2ray_ws:v0.9.3 fe05ce6b5a9dce41a99ba73b8aab74f79b1d55a2b1a85e113b9c0217980b667b Error: No such container: v2ray
The text was updated successfully, but these errors were encountered:
这个由于是证书没有获取或者安装到指定位置造成的。
`"certificateFile": "/root/.caddy/acme/acme-v02.api.letsencrypt.org/sites/full_domain/full_domain.crt",
"keyFile": "/root/.caddy/acme/acme-v02.api.letsencrypt.org/sites/full_domain/full_domain.key"`
如果你有可以被自动颁发证书的域名,先选择运行一次 v2ray 自动获取
sudo docker run -d --rm --name v2ray -p 443:443 -p 80:80 -v $HOME/.caddy:/root/.caddy c258c4fff5f9/v2ray_ws:v0.9.3 9919.wpwp.work V2RAY_WS 0890b53a-e3d4-4726-bd2b-52574e8588c4 3o38nn5h 0 v2ray && sleep 3s && sudo docker logs v2ray
确保 v2ray 可以正常运行后,进入 docker
docker exec -i -t v2ray bash
将证书复制到指定位置
cp -r $HOME/.local/share/caddy/certificates/acme-v02.api.letsencrypt.org-directory/www.yourdomain.com /root/.caddy/acme/acme-v02.api.letsencrypt.org/sites
复制完成后,便可停掉当前 docker,并选择其他核心了。
Sorry, something went wrong.
谢谢
No branches or pull requests
请问出现此问题该如何解决,谢谢
root@ubuntu-1:~# sudo docker run -d --rm --name v2ray -p 443:443 -p 80:80 -v $HOME/.caddy:/root/.caddy c258c4fff5f9/v2ray_ws:v0.9.3 9919.wpwp.work V2RAY_WS 0890b53a-e3d4-4726-bd2b-52574e8588c4 3o38nn5h 0 xray && sleep 3s && sudo docker logs v2ray
Unable to find image 'c258c4fff5f9/v2ray_ws:v0.9.3' locally
v0.9.3: Pulling from c258c4fff5f9/v2ray_ws
ba3557a56b15: Pull complete
27e0fc8fb077: Pull complete
b1c36bdd26fc: Pull complete
1d33ba0d9a56: Pull complete
33035de4b606: Pull complete
237ecdade207: Pull complete
8a8f73db97aa: Pull complete
f89c5c176ca7: Pull complete
afe43fb9968c: Pull complete
803fc62177f4: Pull complete
4c42f998e5c5: Pull complete
2ea037c873b6: Pull complete
000a98e8272f: Pull complete
Digest: sha256:d499b38fba3e26f2962faa7e7ad2991c9fcb304ae6ac5501db062615a117059e
Status: Downloaded newer image for c258c4fff5f9/v2ray_ws:v0.9.3
fe05ce6b5a9dce41a99ba73b8aab74f79b1d55a2b1a85e113b9c0217980b667b
Error: No such container: v2ray
The text was updated successfully, but these errors were encountered: