You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 29, 2023. It is now read-only.
docker scan command fails with local image after docker build step.
docker scan kubernetes-template:202201130950
10:53:07 Failed to scan image "kubernetes-template:202201130950". Please make sure the image and/or repository exist, and that you are using the correct credentials.
Steps to reproduce the issue:
Run Jenkins pipeline in docker-in-docker container
run docker build .
run docker scan image
Additional information you deem important (e.g. issue happens only occasionally):
it works with docker scan hello-world (doesn't need authentication) BUT
despite the fact that i have config.json under DOCKER_CONFIG with my private registry credentials, it fails with authentication error when i run docker scan MY_PRIVATE_REG:kubernetes-template:202201130950
Description
docker scan command fails with local image after docker build step.
Steps to reproduce the issue:
docker build .
docker scan image
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Output of
docker scan --version
:Output of
docker info
:The text was updated successfully, but these errors were encountered: