IBM Cloud Functions "Failed to pull container image"

477 Views Asked by At

I have a docker container that I want to run in IBM Cloud Functions (OpenWhisk), because I don't want the container to be publicly accessible I want to store it in the IBM Cloud Container Registry. For OpenWhisk to be able to access it I followed this tutorial for a similar problem: Access IAM-based services from IBM Cloud Functions

To summarize the steps:

  1. create a IAM Namespace for Functions
  2. give the namespace access to the container registry

IAM Namespace

But sadly this doesn't solve the problem, I still get Failed to pull container image 'uk.icr.io/hvdveer/e2t-bridge:0.1.4'. And I can't really find any points where I could configure an API key or something.

How can I get this to work?

1

There are 1 best solutions below

2
On

OpenWhisk (the underlying technology of IBM Cloud Functions) does not yet support authenticated access to a registry. As a consequence, AFAIK your use-case is currently not supported.