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
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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.