Skip to content

ImagePullBackOff Error When Using GitHub Tutorial for Container Apps #33

@DanWahlin

Description

@DanWahlin

Please provide us with the following information:

This issue is for a: (mark with an x)

- [X ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Any log messages given by the failure

  • Failed to pull image "ghcr.io/danwahlin/container-apps-store-api-microservice/node-service:sha-ac6a0a4": rpc error: code = Unknown desc = failed to pull and unpack image "ghcr.io/danwahlin/container-apps-store-api-microservice/node-service:sha-ac6a0a4": failed to resolve reference "ghcr.io/danwahlin/container-apps-store-api-microservice/node-service:sha-ac6a0a4": failed to authorize: failed to fetch oauth token: unexpected status: 403 Forbidden
  • Error: ErrImagePull
  • Liveness probe failed: HTTP probe failed with statuscode: 500

Expected/desired behavior

Container App should load the image and then run

OS and Version?

Mac Monterey 12.6

Mention any other details that might be useful

I'm able to run docker pull ghcr.io/danwahlin/container-apps-store-api-microservice/node-service:sha-ac6a0a4 successfully from my local machine. The node-app container app doesn't seem to be able to pull that image though. I see that the container app Image type is Private but the package is public in GitHub.

I changed isPrivateRegistry to true in deploy/main.bicep and it seems to work now. See PR #32.


Thanks! We'll be in touch soon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions