Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Docker registry authentication when pulling image #668

Open
zephinzer opened this issue Jan 29, 2018 · 1 comment
Open

Support for Docker registry authentication when pulling image #668

zephinzer opened this issue Jan 29, 2018 · 1 comment

Comments

@zephinzer
Copy link

Hi, we're using a private Docker registry which requires authentication to pull from. After publishing the app and route, we're getting this error:

{
...
  "error": {
    "message": "Failed to pull image '.../<repo>/<image_name>:latest' unauthorized: authentication required"
  }
}

Can't find it in the documentation on how to authenticate with a Docker registry

@c0ze
Copy link
Contributor

c0ze commented Jan 31, 2018

@zephinzer thanks for the report !

Using private repositories is something we are currently working on atm, so unfortunately there is no official way to do this.

Until we enable this functionality, I believe you can circumvent the issue by doing docker login from the host where you are running your Iron functions service. Does this work for you ?

documentation on docker login in case you need to explore your options.

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

No branches or pull requests

2 participants