MetaX-Tech Developer Forum 论坛首页
  • 沐曦开发者
search
Sign in
  • chevron_right Threads
  • label 产品&运维
  • label 解决中

下载官方镜像报错

Yunxiao
2026年7月6日
chat_bubble_outline 12
  • link
    Yunxiao
    Members 12 posts
    2026年7月6日 12:36 2026年7月6日 12:36
    link

    复制官方docker pull命令后:
    docker login --username=xxx --password=xxx && sudo docker pull cr.metax-tech.com/public-ai-release/maca/vllm-metax:0.18.0-maca.ai3.5.3.405-torch2.8-py310-ubuntu22.04-amd64
    Error response from daemon: Head "cr.metax-tech.com/v2/public-ai-release/maca/vllm-metax/manifests/0.18.0-maca.ai3.5.3.405-torch2.8-py310-ubuntu22.04-amd64": unauthorized: unauthorized: invalid token claims, error: standard claim invalid: token is expired by 1h55m6.614827907s
    如何解决?

  • arrow_forward

    Thread has been moved from 产品&运维.

    • By shuai_chen on 2026年7月6日 14:44.
  • link
    shuai_chen
    Members 650 posts
    2026年7月6日 14:45 2026年7月6日 14:45
    link

    尊敬的开发者您好,已过有效期,请重新复制pull命令

  • link
    Yunxiao
    Members 12 posts
    2026年7月6日 14:51 2026年7月6日 14:51
    link

    重新复制以后是一模一样的命令,还是报token is expired的错误

  • link
    shuai_chen
    Members 650 posts
    2026年7月6日 14:54 2026年7月6日 14:54
    link

    尊敬的开发者您好,请去掉sudo,统一在root用户执行

  • link
    Yunxiao
    Members 12 posts
    2026年7月6日 19:56 2026年7月6日 19:56
    link

    管理员你好,我这边没有root权限,请问在vllm-metax-0.13.0的镜像中是否可以源码编译vllm-metax-0.18.0?我的源镜像是:vllm-metax:0.13.0-maca.ai3.3.0.303-torch2.8-py310-ubuntu22.04-amd64

  • link
    shuai_chen
    Members 650 posts
    2026年7月6日 19:58 2026年7月6日 19:58
    link

    尊敬的开发者您好,不可以

  • link
    Jianping_Wu
    Team 18 posts
    2026年7月7日 11:11 2026年7月7日 11:11
    link
    @Yunxiao has written:

    重新复制以后是一模一样的命令,还是报token is expired的错误

    尊敬的开发者您好,问题是否已经解决? 重新点击 docker pull命令复制是会重新获取1小时有效期的token。 如有疑问需提供更详细的信息如:接口返回的数据信息等

  • link
    Yunxiao
    Members 12 posts
    2026年7月7日 11:44 2026年7月7日 11:44
    link

    管理员你好:
    刚刚又试了一次还是同样的报错信息:
    xxx@xxx:~$ docker login --username=api-cr-cloud-lib-ai-ro@xxx cr.metax-tech.com && sudo docker pull cr.metax-tech.com/public-ai-release/maca/vllm-metax:0.18.0-maca.ai3.5.3.405-torch2.8-py310-ubuntu22.04-amd64
    WARNING! Using --password via the CLI is insecure. Use --password-stdin.
    WARNING! Your password will be stored unencrypted in /home/dpu4/.docker/config.json.
    Configure a credential helper to remove this warning. See
    docs.docker.com/engine/reference/commandline/login/#credentials-store

    Login Succeeded
    [sudo] xxx 的密码:
    Error response from daemon: Head "cr.metax-tech.com/v2/public-ai-release/maca/vllm-metax/manifests/0.18.0-maca.ai3.5.3.405-torch2.8-py310-ubuntu22.04-amd64": unauthorized: unauthorized: invalid token claims, error: standard claim invalid: token is expired by 25h0m47.748002581s
    我这边没有root权限,pull docker需要sudo (sudo docker pull)
    我在login也用sudo以后 (sudo login && sudo docker pull) 报错消失,从头开始pulling:
    Login Succeeded
    0.18.0-maca.ai3.5.3.405-torch2.8-py310-ubuntu22.04-amd64: Pulling from public-ai-release/maca/vllm-metax
    43f89b94cd7d: Already exists
    f2b7c1644807: Pull complete
    077977940afd: Pull complete
    b1b8f989434a: Downloading 3.637MB/4.809MB
    84398257dc67: Downloading 4.325MB/94.22MB
    443c93c96edb: Downloading 3.785MB/3.572GB
    2f427e59f857: Waiting
    b0c2e660298b: Waiting
    0c1d591115bb: Waiting
    30e855b71d68: Waiting
    06830532ea96: Pulling fs layer
    4f4fb700ef54: Waiting
    afe16f59bac8: Waiting
    1d0f707f6f52: Waiting
    96b54463a433: Waiting
    37bec76d27ba: Waiting
    根据下载速度观察,大概率在token valid的时间范围内没办法完整下载整个镜像,后续可能还是会报同样的错误,如果后续报错我会在这个帖子下发详细信息。
    感谢回复。

  • link
    Yunxiao
    Members 12 posts
    2026年7月7日 13:56 2026年7月7日 13:56
    link

    Login Succeeded
    0.18.0-maca.ai3.5.3.405-torch2.8-py310-ubuntu22.04-amd64: Pulling from public-ai-release/maca/vllm-metax
    43f89b94cd7d: Already exists
    f2b7c1644807: Pull complete
    077977940afd: Pull complete
    b1b8f989434a: Pull complete
    84398257dc67: Pull complete
    443c93c96edb: Downloading 857MB/3.572GB
    2f427e59f857: Download complete
    b0c2e660298b: Downloading 826.1MB/2.967GB
    0c1d591115bb: Download complete
    30e855b71d68: Download complete
    06830532ea96: Downloading
    4f4fb700ef54: Waiting
    afe16f59bac8: Waiting
    1d0f707f6f52: Waiting
    96b54463a433: Waiting
    37bec76d27ba: Waiting
    unauthorized: unauthorized: invalid token claims, error: standard claim invalid: token is expired by 31m9.653425596s
    xxx@xxx:~$ sudo docker login --username=api-cr-cloud-lib-ai-ro@78575726 --password=xxx cr.metax-tech.com && sudo docker pull cr.metax-tech.com/public-ai-release/maca/vllm-metax:0.18.0-maca.ai3.5.3.405-torch2.8-py310-ubuntu22.04-amd64
    [sudo] xxx 的密码:
    WARNING! Using --password via the CLI is insecure. Use --password-stdin.
    Error response from daemon: Get "cr.metax-tech.com/v2/": unauthorized: unauthorized: invalid token claims, error: standard claim invalid: token is expired by 1h15m45.733795048s

  • link
    Jianping_Wu
    Team 18 posts
    2026年7月7日 13:59 2026年7月7日 13:59
    link

    那应该没问题了 网速慢只能开启断点续传 多次pull 后续会优化延长过期时间,届时会方便点

  • link
    Yunxiao
    Members 12 posts
    2026年7月8日 10:57 2026年7月8日 10:57
    link

    能否优化一下呢?我重新复制docker命令以后并没有触发断点续传,是完全重新下载了,在时间范围内下载不完,这个错误就循环出现了,这是我刚刚复制命令后下载的:
    Login Succeeded
    0.18.0-maca.ai3.5.3.405-torch2.8-py310-ubuntu22.04-amd64: Pulling from public-ai-release/maca/vllm-metax
    43f89b94cd7d: Already exists
    f2b7c1644807: Pull complete
    077977940afd: Pull complete
    b1b8f989434a: Pull complete
    84398257dc67: Downloading 6.488MB/94.22MB
    443c93c96edb: Downloading 4.866MB/3.572GB
    2f427e59f857: Downloading 1.229MB/3.485MB
    b0c2e660298b: Waiting
    0c1d591115bb: Waiting
    30e855b71d68: Waiting
    06830532ea96: Pulling fs layer
    4f4fb700ef54: Waiting
    afe16f59bac8: Waiting
    1d0f707f6f52: Waiting
    96b54463a433: Waiting
    37bec76d27ba: Waiting

  • link
    shuai_chen
    Members 650 posts
    2026年7月8日 11:00 2026年7月8日 11:00
    link

    尊敬的开发者您好,请按照developer.metax-tech.com/forum/t/mu-xi-kai-fa-zhe-she-qu-jing-xiang-xia-zai-zhong-xin-xin-zeng-jing-xiang-chi-xian-bao-xia-zai-shen-qing-gong-neng/313/ 申请离线包导入

    Yunxiao likes this.

    favorite 1

  • link
    Yunxiao
    Members 12 posts
    2026年7月8日 11:04 2026年7月8日 11:04
    link

    谢谢,已发帖申请

arrow_upward Go to top
  • 沐曦开发者论坛
powered by misago