Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TempDir is not getting created when the jfrog docker scan command is ran. #896

Open
dawilliams opened this issue Feb 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dawilliams
Copy link

dawilliams commented Feb 3, 2024

Describe the bug

Machine: Macbook Pro M2
Command: jfrog docker scan <IMAGE>

The above command fails with Failed to index '/var/folders/v1/r1vbqc_n7tn23r4fj5f631sm0000gq/T/jfrog.cli.temp.-1706934886-3999256781/image.tar After debugging the issue, I've discovered that the temp directory is never created. Interestingly though the directory is created when running the jfrog scan command.

Current behavior

jfrog_error.txt

Reproduction steps

jf docker scan docker.io/library/nginx:1.17.2-alpine

Expected behavior

The jf docker scan command creates then deletes the temp folder after scanning the container.

JFrog Client-Go version

v1.36.0

JFrog CLI version (if applicable)

2.52.10

Operating system type and version

MacOS: Ventura 13.6.3

JFrog Artifactory version

7.46.3

JFrog Xray version

3.57.6

@dawilliams dawilliams added the bug Something isn't working label Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant