Written by

Question Id Lawal · Oct 7, 2022

docker login throws error

I get the error below when trying to login to an account i just created. Login details used is my email as username and a password.  Any ideas?

##Error response from daemon: Get "https://containers.intersystems.com/v2/": unauthorized: BAD_CREDENTIAL##

Product version: IRIS 2021.1

Comments

Id Lawal · Oct 7, 2022

@Scott Roth /v2/ is part of the error returned to stdout. The command i am running is 

docker login -u="<myemail>" -p="<mypassword>" containers.intersystems.com

and the error returned is 

##Error response from daemon: Get "https://containers.intersystems.com/v2/": unauthorized: BAD_CREDENTIAL##

0
Eduard Lebedyuk  Oct 7, 2022 to Id Lawal

Is <mypassword> your actual WRC password?

You need to obtain token from here.

0
Id Lawal  Oct 10, 2022 to Eduard Lebedyuk

@Eduard Lebedyuk yes i also tried using the token as password but I get the same error. I also made sure i did a docker logout before doing the docker login command.

0
Eduard Lebedyuk  Oct 11, 2022 to Id Lawal

User should be not <myemail>, but your wrc login.

You can also download images from docker hub.

0