Why have I got a problem when I pull an image with cosign
when I use Podman in Container Registry?
You're having problems when you try to pull an image when you're using cosign
with Podman in IBM Cloud® Container Registry.
You are getting the following error when you try to pull an image and you're using cosign
with Podman: UNAUTHORIZED: Authorization required.
You might need to log in to cosign
manually.
You can fix this problem in the following way:
Use the following command to log in to cosign
, where <registry>
is your registry and <your_api_key>
is your API key.
cosign login <registry> -u iamapikey -p <your_api_key>