question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when trying to scan public image

See original GitHub issue

I am seeing the following error when trying to implement a simple scan of an image. Snippet is:

Error: FATAL	scan error: unable to initialize a scanner: unable to initialize a docker scanner: 3 errors occurred:
Error: An error occurred while scanning container image: parsedmarc:latest for vulnerabilities.

Full logs are attached logs_10.zip

The github action looks like:

  docker_scan:
    runs-on: ubuntu-latest
    needs: docker_build_and_push
    steps:
      - name: Checkout repo
        uses: actions/checkout@v2

      - name: Pull and scan parsedmarc
        uses: azure/container-scan@v0
        with:
          image-name: parsedmarc:latest

Any help would be appreciated!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

6reactions
fraserc182commented, Jan 31, 2022

Hi @koushdey, I tried it again this morning and the same issue occurs.

1reaction
fraserc182commented, Feb 3, 2022

Sorted this, after fixing a syntax issue.

Thanks for the help with this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error while scanning an image #187 - aquasecurity/trivy - GitHub
trivy scanning results in an error while scanning a specific image. This is happening only with this specific image ...
Read more >
Image-building best practices - Docker Documentation
When you have built an image, it is a good practice to scan it for security ... Run the command docker scan --login...
Read more >
Scanning local docker image for vulnerability using Trivy gives ...
I've pulled a docker image from a private repository to local and trying to scan the local image with trivy image command.
Read more >
Troubleshooting image scanning issues - Amazon ECR
The following are common image scan failures. You can view errors like this in the Amazon ECR console by displaying the image details...
Read more >
Find and Fix Container Image Vulnerabilities with Docker and ...
Docker Desktop now supports Snyk vulnerability scanning, allowing Docker Desktop users to trigger local Dockerfile and image scans directly ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found