V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
DopaminePlz
V2EX  ›  Cloudflare

tunnel 出错!

  •  
  •   DopaminePlz · 13 天前 · 1076 次点击

    按照官方 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
    

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

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

    https://github.com/cloudflare/cloudflared/issues/743
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   943 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 20:53 · PVG 04:53 · LAX 13:53 · JFK 16:53
    ♥ Do have faith in what you're doing.