Getting an error trying to deploy

------
Error failed to fetch an image or build from source: error building: failed to load cache key: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed```

You may be building runc / docker image puling from a private repository?

If so, Fly’s remote builders don’t yet support authenticating to those.

You can try building the runc image locally, like so:

flyctl deploy <other-args> --local-only

The default was --local-only before, but with one of the recent flyctl updates, they’ve switched it to --remote-only: Recent update prevents deploy from local docker image? - #2 by kurt

You may be building runc / docker image puling from a private repository?

Nope, but it randomly started working again after a while :man_shrugging:

1 Like