Debugging build locally with Docker

You can debug a build locally by pulling down a Docker image that is held in the documentation link, Troubleshooting Locally in a Docker Image (https://docs.travis-ci.com/user/common-build-problems/#Troubleshooting-Locally-in-a-Docker-Image). You can find the instructions to install Docker in this link (https://docs.docker.com/install/).

  1. Pull down the Go Docker image:
docker pull travisci/ci-garnet:packer-1512502276-986baf0

Notice that we run the docker pull command to actually pull down the Docker image

  1. Start the interactive Docker session:

Notice here that we ran an interactive shell session in detached ...

Get Hands-On Continuous Integration and Delivery now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.