Mon-ius / Docker-Warp-Socks

Connet to CloudFlare WARP, exposing `socks5` proxy all together.
https://hub.docker.com/r/monius/docker-warp-socks
GNU General Public License v3.0
370 stars 39 forks source link

run container failed #7

Closed taylorwin closed 1 year ago

taylorwin commented 1 year ago

2023/04/04 13:58:04 Using config file: wgcf-account.toml 2023/04/04 13:58:09 ======================================= 2023/04/04 13:58:09 Device name : DCDE62 2023/04/04 13:58:09 Device model : PC 2023/04/04 13:58:09 Device active : true 2023/04/04 13:58:09 Account type : free 2023/04/04 13:58:09 Role : child 2023/04/04 13:58:09 Premium data : 0.00 B 2023/04/04 13:58:09 Quota : 0.00 B 2023/04/04 13:58:09 ======================================= 2023/04/04 13:58:09 Successfully created Cloudflare Warp account 2023/04/04 13:58:09 Using config file: wgcf-account.toml 2023/04/04 13:58:10 ======================================= 2023/04/04 13:58:10 Device name : DCDE62 2023/04/04 13:58:10 Device model : PC 2023/04/04 13:58:10 Device active : true 2023/04/04 13:58:10 Account type : free 2023/04/04 13:58:10 Role : child 2023/04/04 13:58:10 Premium data : 0.00 B 2023/04/04 13:58:10 Quota : 0.00 B 2023/04/04 13:58:10 ======================================= 2023/04/04 13:58:10 Successfully generated WireGuard profile: wgcf-profile.conf sed: -e expression #1, char 69: unknown command: `f'

Mon-ius commented 1 year ago

Hi Taylor

Can u give more details about your operation to caused such error?

It seemed that you were not under the docker env and directly running the part of the entrypoint.sh to caused such issue.

taylorwin commented 1 year ago

Thank you for your reply, this is the command I used

sudo docker run -it --rm -p 9091:9091 monius/docker-warp-socks bash 2023/04/06 13:57:05 Using config file: wgcf-account.toml 2023/04/06 13:57:15 ======================================= 2023/04/06 13:57:15 Device name : 8FFE3F 2023/04/06 13:57:15 Device model : PC 2023/04/06 13:57:15 Device active : true 2023/04/06 13:57:15 Account type : free 2023/04/06 13:57:15 Role : child 2023/04/06 13:57:15 Premium data : 0.00 B 2023/04/06 13:57:15 Quota : 0.00 B 2023/04/06 13:57:15 ======================================= 2023/04/06 13:57:15 Successfully created Cloudflare Warp account 2023/04/06 13:57:15 Using config file: wgcf-account.toml 2023/04/06 13:57:16 ======================================= 2023/04/06 13:57:16 Device name : 8FFE3F 2023/04/06 13:57:16 Device model : PC 2023/04/06 13:57:16 Device active : true 2023/04/06 13:57:16 Account type : free 2023/04/06 13:57:16 Role : child 2023/04/06 13:57:16 Premium data : 0.00 B 2023/04/06 13:57:16 Quota : 0.00 B 2023/04/06 13:57:16 ======================================= 2023/04/06 13:57:16 Successfully generated WireGuard profile: wgcf-profile.conf sed: -e expression #1, char 73: unknown command: `f'

Mon-ius commented 1 year ago

I see, you need to follow the given instructions to make the service active;

I guess you may meet the same issue like Gib:

https://github.com/Mon-ius/Docker-Warp-Socks/issues/6#issuecomment-1497602912

Mon-ius commented 1 year ago

Fix; https://github.com/Mon-ius/Docker-Warp-Socks/commit/92c1aadd837122fd046ba5992cb729606bc12261