Jenkins docker cache not working

I’m trying to build a docker file under jenkins docker build .

Here is my docker file:

  • Neo4j Community edition - how to configure yml to run Docker image via Kitematic CL
  • Dokku: Listen to multiple ports from an app
  • hive on spark, always wrong executor_cores in job application from spark master web UI
  • Migrate container from one machine to another machine
  • GitLab CI build stuck on pending
  • DOCKER_OPTS are reset after system reboot
  • # DOCKER-VERSION 0.10.0
    # Never install a ruby gem docs
    RUN echo "gem: --no-rdoc --no-ri" >> ~/.gemrc
    RUN mkdir /my_app
    WORKDIR /my_app
    RUN gem install bundler
    RUN gem install bluepill
    ADD Gemfile /my_app/Gemfile
    ADD Gemfile.lock /my_app/Gemfile.lock
    RUN bundle install
    ADD . /my_app

    Note that I’m using the common caching method for bundle install, the cache works locally but not on jenkins build, what is the problem of running this under jenkins?

  • Terraform unable to get docker to join swarm
  • Docker : Could not resolve host: - for go get ./
  • Running Elastic Search with Laradock
  • A Docker workflow for a developers team
  • Docker API port binding is not working
  • Different behaviour between 'docker run' and running command from bash within container
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.