Docker Build Error: Failed to Pull jupyter/base-notebook:hub-1.5.0 Due to Authorization Issue
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- docker
- 领域
- build-system, devops
调研方向
从 Dockerfile 第 20 行开始,使用所引用的基础镜像重现报告中的 docker build -t netpyne-ui . 命令。检查 Docker 构建输出以及 Docker Desktop 的 registry 身份验证状态;当 NetPyNE-UI 镜像成功构建且未出现授权失败时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
I encountered an error while trying to build the NetPyNE-UI Docker image following the instructions from [MetaCell/NetPyNE-UI]
Environment:
Docker Desktop (Windows)
Input:
docker build -t netpyne-ui .
Output:
[+] Building 8.1s (5/5) FINISHED
docker:desktop-linux
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 2.60kB 0.0s
=> WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1) 0.0s
=> WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 15) 0.0s
=> ERROR [internal] load metadata for docker.io/jupyter/base-notebook:hub-1.5.0 8.1s
=> CANCELED [internal] load metadata for docker.io/library/node:18 8.1s
=> [auth] library/node:pull token for registry-1.docker.io 0.0s
=> [auth] jupyter/base-notebook:pull token for registry-1.docker.io 0.0s
[internal] load metadata for docker.io/jupyter/base-notebook:hub-1.5.0:
2 warnings found (use docker --debug to expand):
- FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)
- FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 15)
Dockerfile:20
18 |
19 | ###
20 | >>> FROM jupyter/base-notebook:hub-1.5.0
21 | ENV NB_UID=jovyan
22 | ENV FOLDER=netpyne
ERROR: failed to solve: jupyter/base-notebook:hub-1.5.0: failed to resolve source metadata for docker.io/jupyter/base-notebook:hub-1.5.0: failed to authorize: failed to fetch oauth token: unexpected status from GET request to https://auth.docker.io/token?scope=repository%3Ajupyter%2Fbase-notebook%3Apull&service=registry.docker.io: 401 Unauthorized
Thank you for your time and assistance. As a beginner in programming, I apologize if I missed any steps or provided incomplete information. Any guidance would be greatly appreciated!
- 主要语言
- JavaScript
- 星标
- 23
- 派生
- 10
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
MetaCell/NetPyNE-UI 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 45/100
MetaCell/NetPyNE-UI#835 ·
-
CNS24 Tutorial - Issues可能重新可做 @filippomc 于 812 天前认领,目前没有进行中的 PR。 未关闭
MetaCell/NetPyNE-UI#829 · 2 条评论 · 已指派 3 人 ·
-
难度 4/5 3-5 天 新手友好度 42/100
MetaCell/NetPyNE-UI#794 · 2 条评论 ·
-
M1 model does not show cell density and shows error in Spatial Distribution panel可能重新可做 @ddelpiano 于 1017 天前认领,目前没有进行中的 PR。 未关闭
MetaCell/NetPyNE-UI#793 · 1 条评论 · 已指派 1 人 ·
-
难度 4/5 3-5 天 新手友好度 25/100
MetaCell/NetPyNE-UI#791 ·
查看 MetaCell/NetPyNE-UI 的全部 Issue
相似的 Issue
-
status: waiting triage
难度 2/5 1-3 小时 新手友好度 84/100
freeCodeCamp/freeCodeCamp#70412 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
Jason-Vaughan/TangleClaw#1884 ·
维护者通常 1 天内回复
-
bug good first issue web
难度 2/5 1-3 小时 新手友好度 85/100
-
难度 2/5 1-3 小时 新手友好度 84/100
microsoft/TypeScript#64453 ·
维护者通常 1 天内回复
-
self-driving
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复