Monday, April 27, 2020

Docker Diaries: Docker Pull Request for Ubuntu got Denied

Trying to install ubuntu image and executed the following command using Windows Power Shell. Apologies for not taking the screen capture. It looks something like this:


docker pull ubuntu
default is latest
Trying to pull ubuntu
pull access denied for ubuntu does not exist or may
require 'docker login': denied: requested access to the resource is denied


So I exited from the Power Shell and logged in again to Docker. Then used docker pull command voila!! it worked. This time I took the screen capture of the output though :)


Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
PS C:\Windows\system32> docker login
Authenticating with existing credentials...
Login Succeeded
PS C:\Windows\system32> docker pull ubuntu
Using default tag: latest
latest: Pulling from library/ubuntu
d51af753c3d3: Pull complete
fc878cd0a91c: Pull complete
6154df8ff988: Pull complete
fee5db0ff82f: Pull complete
Digest: sha256:747d2dbbaaee995098c9792d99bd333c6783ce56150d1b11e333bbceed5c54d7
Status: Downloaded newer image for ubuntu:latest
docker.io/library/ubuntu:latest
PS C:\Windows\system32>