Git Product home page Git Product logo

Comments (3)

fenech avatar fenech commented on June 12, 2024 2

@dsawa No, I couldn't find a way to persist the state between tasks runs using this image.

In the end I decided to change my approach: instead of using this task image, I SSH into a VM with Docker running there and pull the images rather than load them, so that layer caching can speed things up.

from dcind.

dsawa avatar dsawa commented on June 12, 2024

@fenech Have you managed to find some kind of workaround ?
I have similar problem now.

from dcind.

georggrab avatar georggrab commented on June 12, 2024

Note that the concourse documention on caches states:

The path to a directory to be cached.

Paths are relative to the working directory of the task. Absolute paths are not respected.

I usually set up caches in concourse like this:

script in the task amounting to (.sbt is just an example directory):

rm -rf ~/.sbt
ln -fs sbt-cache ~/.sbt

cache configuration in the task declaration

caches:
- path: sbt-cache

Perhaps you could confirm if that approach works for you (applied to the directory /scratch/docker)?

from dcind.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.