Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Update registry_login.go #220

Closed
wants to merge 1 commit into from
Closed

Conversation

edmooney
Copy link

/v1/ is throwing 404s

Description

docker /v1/ path is throwing URLs - looks to be no longer supported. Therefore was not able to generate the ./credentials/config.json file for access.

How Has This Been Tested?

unable to test on my current machine

Checklist:

I have:

  • checked my changes follow the style of the existing code / OpenFaaS repos
  • updated the documentation and/or roadmap in README.md
  • read the CONTRIBUTION guide
  • signed-off my commits with git commit -s
  • added unit tests

/v1/ is throwing 404s
@derek
Copy link

derek bot commented Sep 12, 2020

Thank you for your contribution. I've just checked and your commit doesn't appear to be signed-off. That's something we need before your Pull Request can be merged. Please see our contributing guide.
Tip: if you only have one commit so far then run: git commit --amend --signoff and then git push --force.

@derek derek bot added the no-dco label Sep 12, 2020
@alexellis
Copy link
Member

@Waterdrips please could you take a look?

@edmooney
Copy link
Author

@Waterdrips @alexellis - I can build it when I get on my other machine - figured I would log it as FYI, in case someone can get to it.

@Waterdrips
Copy link
Contributor

@edmooney The command doent use those urls as webpages, they are authentication endpoints for the docker login command (in cluster) the docker docks still point to v1 and i was able to generate, then use, the credentials with /v1/

docs: https://docs.docker.com/engine/reference/commandline/login/

What was the error or issue you saw?

@edmooney
Copy link
Author

edmooney commented Sep 12, 2020

@Waterdrips - This is is on my side - On this machine using Windows WSL - Docker is flaking out. Closing this PR. Apologies.

@Waterdrips
Copy link
Contributor

Ah ok, that --password-stdin requires you to explicitly close the reading from stdin, the library expects a "ctrl+d" on linux to end read, this allows multiline inputs.

@edmooney
Copy link
Author

edmooney commented Sep 12, 2020

confirmed: it looks like the stdin (ctrl-d). - Not code related- TY!

@edmooney edmooney closed this Sep 12, 2020
@alexellis
Copy link
Member

Sounds like it may have been due to us reading the password from stdin. For tech support Slack tends to be better for us.

Do let us know if you run into anything else.

@alexellis
Copy link
Member

Thanks @Waterdrips

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants