Skip to content

docker pull was failed due to "unauthorized: authentication required" #484

@sho-suzuki

Description

@sho-suzuki

Hi all!

What docker image you are using?

jupyter/all-spark-notebook

What complete docker command do you run to launch the container (omitting sensitive values)?

docker-compose build spark

What do you expect to happen?

pull the image successfully

What actually happens?
my docker-compose.yml as follows

version: '2'
services:
  spark:
    build:
      context: $HOME/dockerfile/spark
      dockerfile: Dockerfile

and command log as follows

docker-compose build spark                                                                                                  
Building spark
Step 1 : FROM jupyter/all-spark-notebook
Trying to pull repository docker.io/jupyter/all-spark-notebook ...
latest: Pulling from docker.io/jupyter/all-spark-notebook
e0a742c2abfd: Pulling fs layer
486cb8339a27: Pulling fs layer
dc6f0d824617: Pulling fs layer
4f7a5649a30e: Pulling fs layer
672363445ad2: Pulling fs layer
b337aaee648d: Pulling fs layer
7f77b4eaa7ff: Pulling fs layer
94e7bffb8046: Pulling fs layer
fa9465212800: Pulling fs layer
79c35484f704: Pulling fs layer
f1756f88332d: Pull complete
e73fef5319c1: Pull complete
f2b4c0f13054: Pull complete
43e4c086805d: Pull complete
5f7d70e73b03: Pull complete
99d4c9a9ea34: Pull complete
f5264c92b99b: Pull complete
5639430738aa: Pull complete
cc5642c54c68: Downloading [======>                                            ] 100.6 MB/778.4 MB
5107f0cbc5e4: Download complete
2847cfad3893: Downloading [=======>                                           ] 63.78 MB/404.6 MB
7b8f9e71437d: Download complete
c70afe92455c: Download complete
cad7770f6c87: Download complete
4a33d6e054a0: Downloading
a227293ed9ac: Waiting
f7690bf06175: Waiting
8838d3da1a80: Waiting
1a4186556ecc: Waiting
09f2d9a8a3ba: Waiting
ed25ef62a9dd: Waiting
ERROR: Service 'spark' failed to build: unauthorized: authentication required

so I deleted the existing spark image and none image
and then, i tryed again, but it fails.

How to solve it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:QuestionA question about the use of the docker stack images

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions