functions
functions copied to clipboard
Support for Docker registry authentication when pulling image
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
@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.