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

Debugging Pipelines Locally - Including Docker

Heme August 13, 2017

I would like to debug my pipelines locally, but I need to be able to run docker inside the CI image.  What is the mechanism that pipelines uses when `docker: true` is included in the `docker-compose.yml` file?

I have reviewed this doc, but didn't see answer:
https://confluence.atlassian.com/bitbucket/debug-your-pipelines-locally-with-docker-838273569.html

1 answer

0 votes
Alex Tran
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 21, 2019

I guess you need to inject the docker daemon socket to your container when running docker, e.g.

docker run -ti -v /var/run/docker.sock:/var/run/docker.sock docker

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events