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
When trying to get packages using syft for image in a private acr, the following command syft packages <acr-name>.azurecr.io/<registry>/<container>:7972..........ad -o spdx-json (assume the names are correct) throws this error:
Pulling image
2023/05/03 14:27:59 error during command execution: 1 error occurred:
* failed to construct source from user input "<acr-name>.azurecr.io/<registry>/<container>:7972..........ad": could not fetch image "<acr-name>.azurecr.io/<registry>/<container>:7972..........ad": unable to use DockerDaemon source: pull failed: Error response from daemon: manifest for <acr-name>.azurecr.io/<registry>/<container>:7972..........ad not found: manifest unknown: manifest tagged by "7972.........ad" is not found
Similarly, the command with registry added ,syft packages registry:<acr-name>.azurecr.io/<registry>/<container>:7972..........ad -o spdx-json throws the error:
2023/05/03 14:28:30 error during command execution: 1 error occurred:
* failed to construct source from user input "regsitry:<acr-name>.azurecr.io/<registry>/<container>:7972..........ad": could not fetch image "regsitry:<acr-name>.azurecr.io/<registry>/<container>:7972..........ad": unable to determine image source to select platform
What you expected to happen:
Able to list packages
Steps to reproduce the issue:
Use the above commands from private registry. Also, the following is running in Gitlab CI where I have authenticated using docker login and even pulled the image using docker pull <acr-name>.azurecr.io/<registry>/<container>:7972..........ad
Anything else we need to know?:
Environment:
Output of syft version: syft 0.79.0
OS (e.g: cat /etc/os-release or similar):
The text was updated successfully, but these errors were encountered:
What happened:
When trying to get packages using syft for image in a private acr, the following command
syft packages <acr-name>.azurecr.io/<registry>/<container>:7972..........ad -o spdx-json
(assume the names are correct) throws this error:Similarly, the command with registry added ,
syft packages registry:<acr-name>.azurecr.io/<registry>/<container>:7972..........ad -o spdx-json
throws the error:What you expected to happen:
Able to list packages
Steps to reproduce the issue:
Use the above commands from private registry. Also, the following is running in Gitlab CI where I have authenticated using
docker login
and even pulled the image usingdocker pull <acr-name>.azurecr.io/<registry>/<container>:7972..........ad
Anything else we need to know?:
Environment:
syft version
: syft 0.79.0cat /etc/os-release
or similar):The text was updated successfully, but these errors were encountered: