Debugging CI build locally


#1

Hi
I’m trying to debug this build locally: https://travis-ci.org/bitclave/base-client-js/builds/430220570

I see Travis is using this instance: instance: travis-job-e36d6810-ca9c-44dc-bd4a-b6bc837677de travis-ci-garnet-trusty-1512502259-986baf0 - but I can not find it to download

If I use image from https://hub.docker.com/r/travisci/ci-garnet/tags/, I’m not able to run docker.
I get:
travis@275d2aef4213:~$ docker ps
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?


#2

Hello, there. Local debugging steps with Docker is explained in https://docs.travis-ci.com/user/common-build-problems/#troubleshooting-locally-in-a-docker-image. The tag you are looking for is packer-1512502276-986baf0.

The error message from Docker indicates that the docker daemon is not running, so you’ll have to do that, before you start pulling and running an image.