V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
DopaminePlz

tunnel 出错!

  •  
  •   DopaminePlz · Oct 7, 2025 · 2003 views
    This topic created in 211 days ago, the information mentioned may be changed or developed.

    按照官方 Tunnels -- Install and run a connector 命令出错!

    docker run cloudflare/cloudflared:latest tunnel --no-autoupdate run --token $TOKEN
    

    出错信息如下:

    Incorrect Usage: flag provided but not defined: -token
    
    NAME:
       cloudflared tunnel run - Proxy a local web server by running the given tunnel
    
    USAGE:
       cloudflared tunnel run [command options] TUNNEL-ID
    

    以前在另外一台设备上运行好好的,今天在阿里云上就出现这个错误! 请问如何解决?

    Supplement 1  ·  Oct 7, 2025
    阿里云上用了国内镜像,所以太老了,都是三五年前的。把国内加速镜像去掉,就更新为最新版本了!也真是无语。
    1 replies    2025-10-07 09:25:43 +08:00
    ryd994
        1
    ryd994  
       Oct 7, 2025 via Android   ❤️ 1
    你的镜像太老了。更新一下:docker pull cloudflare/cloudflared

    https://github.com/cloudflare/cloudflared/issues/743
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5732 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 60ms · UTC 08:08 · PVG 16:08 · LAX 01:08 · JFK 04:08
    ♥ Do have faith in what you're doing.