duynguyen commented on issue #4503: Add option for appending runtimes registry 
to user provided images
URL: 
https://github.com/apache/incubator-openwhisk/pull/4503#issuecomment-499434129
 
 
   @rabbah it is more about setting the default registry of the system.
   With `include-user-images`, we have the option to change the default system 
registry from Docker Hub (keeping the flag false) to a custom one (turning it 
to true). As mentioned in the description, it is useful for multi-region 
deployments (region specific registries), or multi-cloud (AWS ECR or Azure 
container registry, etc.), or trustable image source, to name a few.
   
   For example:
   ```
   whisk.container-factory.runtimes-registry.url=repo-1.openwhisk.org
   ```
   
   As an owner of blackbox action, I can use the following images by passing to 
`--docker`:
   1. `openwhisk/nodejs6action` -> invoker pulls 
`repo-1.openwhisk.org/openwhisk/nodejs6action`
   2. `docker.io/openwhisk/nodejs6action` -> the default openwhisk runtime on 
Docker Hub is pulled
   3. `repo-2.openwhisk.org/openwhisk/nodejs6action` -> image is pulled as it 
is named (from `repo-2`)
   
   Default kind runtimes can still be pulled from different registries by 
specifying it in the manifest file. Something like:
   ```
   "image": {
       "registry": "local-repo.example.com",
       "prefix": "openwhisk",
       "name": "somekind",
       "tag": "latest"
   }
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to