Enabling custom docker images for lambda #251
Unanswered
bkindersleytrulioo
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
this is less pressing for me now that #256 adds support for dotnet runtime, but i am still interested to know |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
based on the response to this issue: #165 (comment), I am trying to emulate a lambda based on a docker image.
my host machine is Windows, I am running Docker Desktop, and I have added
to my docker compose file
with the image only locally available
i build the image and it is available from local docker. when i configure the lambda with image uri
my-image:latest, the invocation fails with errorpull access denied for my-image, repository does not exist or may require 'docker login'with the image in a private ECR repo
i pushed the image to a private ecr repository
my host machine is authenticated to this repository
i configure the lambda with image uri
XXXXXXXXXXXX.dkr.ecr.us-west-2.amazonaws.com/my-image:latestthe invocation fails with error
pull access denied, repository does not exist or may require authorization: authorization failed: no basic auth credentialsas an experiment, i tried configuring the lambda with public image uri
public.ecr.aws/lambda/dotnet:8. on invocation, pulling the image succeeded (but, of course, there was no code to run so it still failed)is there some configuration i'm missing to make this work?
Beta Was this translation helpful? Give feedback.
All reactions