Given the following job config:
version: 2.1
jobs:
example:
docker:
image: docker:18.09.0
steps:
- checkout
- setup_remote_docker
- run: docker build ...
- run: docker run ...
- run: docker exec ...
I would like to “Rerun job with SSH” and then manually debug the various docker
steps. Currently, if I do that I get:
docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.
I understand that in normal operation, setup_remote_docker
causes docker
commands to be executed in the remote environment. Is there a way to have that still work when SSH’ing into the job?