Open shahzebsiddiqui opened 2 years ago
This what docker reports when you login to a registry
[siddiq90@podman01]~% docker login registry.services.nersc.gov
Authenticating with existing credentials for registry.services.nersc.gov
Existing credentials are valid. Already logged in to registry.services.nersc.gov
The reason we haven't added this is the authentication process is a bit involved and that part is written in C. So it would be a good bit of work to add. We could add something to the output that makes it clear that the login isn't actually checked.
I see yeah it bit unclear when one does shifterimg login
that we are registered, yeah some extra output would be useful since i type my credentials and i presume it works but no message doesn't help since i can type incorrect password and nothing will happen.
@scanon
It would be good if you can show a confirmation when using
shifterimg login
to login to registry to note that login was successfulIf i do some bogus username it still finishes as if login was successful. I think just a message would help. If there is failure in login i think that should be reported.