MetaCell / MetaCell/NetPyNE-UI
Docker Build Error: Failed to Pull jupyter/base-notebook:hub-1.5.0 Due to Authorization Issue
- Langage dominant
- JavaScript
- Étoiles
- 23
- Forks
- 10
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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!
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez à la ligne 20 du Dockerfile et reproduisez la commande signalée docker build -t netpyne-ui . en utilisant l’image de base référencée. Vérifiez la sortie du build Docker et l’état de l’authentification auprès du registry dans Docker Desktop ; le travail est terminé lorsque l’image NetPyNE-UI est construite avec succès sans l’erreur d’autorisation.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- docker
- Domaine
- build-system, devops
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 35/100