Hi I am sending my image and its dockerfile to snyk scan but I am getting about error in the pipeline.
docker container run -e SNYK_API=https://api.snyk.io -e SNYK_TOKEN=<TOKEN> -w /project --entrypoint snyk -v /opt/atlassian/pipelines/agent/build/.:/project -e DOCKER_HOST=tcp://host.docker.internal:2375 -e SNYK_INTEGRATION_NAME=BITBUCKET_PIPELINES -e SNYK_INTEGRATION_VERSION=1.0.0 --add-host=host.docker.internal:<IP> snyk/snyk:docker test --json -d --docker <Image name> --file=Dockerfile --severity-threshold=low --json-file-output=snyk-report.json
time="2024-04-24T10:25:56Z" level=error msg="error waiting for container: unexpected EOF"
Hey @Siddhesh Arun Salvi and welcome to the Community!
Based on the logs you have shared in the description, it seems like you are using the pipe snyk/snyk-scan to execute the scan. This pipe is developed and maintained by the Snyk team itself, so I would suggest reaching out to Snyk support for assistance with the pipe configuration or any issue you are facing with its usage :
You can also find support instructions and example use cases for the pipe in its official documentation below :
Thank you, @Siddhesh Arun Salvi !
Patrik S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.