I am using the local CLI build tool to debug a new Circle 2.0 configuration (migration from 1.0).
I would really appreciate the option to leave the docker containers open upon a failure, I can currently attach to the docker containers that are created to debug issues by adding a long sleep before the failure occurs but this is an unnecessary workaround. Being able to access the shell within the main container is incredibly useful when steps are failing to debug the issue.
My current workaround:
- add a
sleep 10mbefore the failure
- grab the main container id
docker exec -i -t <containerId> /bin/bash