Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bitbucket pipeline failing with : level=error msg="error waiting for container: unexpected EOF"

Siddhesh Arun Salvi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 24, 2024

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"

1 answer

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 25, 2024

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events