SOLVED Help Installing a Docker Image - Docker Login?

yottabit

Contributor
Joined
Apr 15, 2012
Messages
192
I am trying to install debian:stable. I have tried various combinations in the SCALE UI for Image Repository / Image tag:
  1. debian / latest
  2. debian/debian / latest
  3. debian/debian / stable
1631482755892.png


This latest attempt, as shown above, resulted in this error in the logs:

Sep 12 16:35:42 nas1 dockerd[3491219]: time="2021-09-12T16:35:42.508996490-05:00" level=error msg="Not continuing with pull after error: errors:\ndenied: requested access to the resource is denied\nunauthorized: authentication required\n"
Sep 12 16:35:42 nas1 dockerd[3491219]: time="2021-09-12T16:35:42.509084692-05:00" level=info msg="Ignoring extra error returned from registry: unauthorized: authentication required"
Sep 12 16:35:42 nas1 k3s[3494720]: E0912 16:35:42.530459 3494720 remote_image.go:114] "PullImage from image service failed" err="rpc error: code = Unknown desc = Error response from daemon: pull access denie
d for debian/debian, repository does not exist or may require 'docker login': denied: requested access to the resource is denied" image="debian/debian:stable"
Sep 12 16:35:42 nas1 k3s[3494720]: E0912 16:35:42.530542 3494720 kuberuntime_image.go:51] "Failed to pull image" err="rpc error: code = Unknown desc = Error response from daemon: pull access denied for debia
n/debian, repository does not exist or may require 'docker login': denied: requested access to the resource is denied" image="debian/debian:stable"

So maybe this is the right way to use those parameters, but do I have to provide login credentials to Docker.io to pull that image? I don't see any way to do so in the UI.

Any pointers?
 

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
Hi,

Never used scale here but from the log, it is pretty clear :

"Not continuing with pull after error: errors:
denied: requested access to the resource is denied
unauthorized: authentication required
"

So you need to authenticate before downloading from the repository you are using. Are you trying to pull from Docker Hub ? Another one ? Do you already have credentials for that repository ?
 

yottabit

Contributor
Joined
Apr 15, 2012
Messages
192
Right, but there doesn't seem to be any place to add authentication to the docker setup in SCALE. I am assuming, as long as I have the repo and tag the way SCALE expects, that I have to login to Docker to download from that repo.
 

yottabit

Contributor
Joined
Apr 15, 2012
Messages
192
I think I found it: Manage docker images -> Pull Image.

1631495860785.png


I'll give it a try later, and then mark this as solved, if it works.

For now I can't even get builtin apps (Plex) to deploy. :-/
 

yottabit

Contributor
Joined
Apr 15, 2012
Messages
192
I still have not been able to figure this out. I have entered my Docker.com username & password, but I still receive the `requested access to the resource is denied` message.

Any hints? Anyone can offer?

1631810364253.png
 

Heracles

Wizard
Joined
Feb 2, 2018
Messages
1,401
Are you using 2FA in your Docker account ? If you do, you need a special Application password for that.
 

yottabit

Contributor
Joined
Apr 15, 2012
Messages
192
Figured it out. Don't need user/pass for Docker. Just need to fix the image name to 'docker' only, which is a little confusing considering the tooltip for the Image Name field.

1631810558286.png
 
Top