Docker pull stucks

The docker pull command doesn’t download an image. It start’s but it hangs after some time:


docker pull ubuntu
Using default tag: latest
latest: Pulling from library/ubuntu
f476d66f5408: Downloading ==========>                                        ]  7.535MB/37.21MB
8882c27f669e: Download complete 
d9af21273955: Download complete 
f5029279ec12: Download complete

The Docker log contained an error:

level=error msg="Not continuing with pull after error: context canceled"

I’ve tried to pull another image linuxserver/nextcloud I get an errror:

kvě 12 22:03:25 serenity dockerd[3472]: time="2019-05-12T22:03:25.643312154+02:00" level=error msg="Not continuing with pull after error: errors:
denied: requested access to the resource is denied
unauthorized: authentication required
"
level=info msg="Ignoring extra error returned from registry: unauthorized: authentication required"
kvě 12 22:05:20 serenity dockerd[3472]: time="2019-05-12T22:05:20.062671660+02:00" level=error msg="Not continuing with pull after error: context canceled"
kvě 12 22:13:07 serenity dockerd[3472]: time="2019-05-12T22:13:07.644061861+02:00" level=error msg="Not continuing with pull after error: context canceled"

Do you know what might be wrong?

I’ve installed the Docker from openSuse Leap 15 repository (Docker version 18.09.1)

Are you running your docker commands in a full root console?
For the moment, that is the only reason I can think of that cause and authentication/authorization problem… If you used a normal User account or possible even sudo (don’t know, haven’t checked).

TSU

BTW - I wasn’t expecting any kind of problem but I did a “docker pull ubuntu” in a root console anyway, and there were no problems.

TSU

It looks like, that it is somehow connected to my internet connection or router. When I connect via phone and WiFi hotspot the Docker pull works properly. When I connect vie my home router (VDSL) the pull doesn’t work.

As I noted,
It’s an authentication error.

Maybe you’ll have to do a little research into peculiarities related to your Internet connection.

TSU