Comments (3)
@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.
@fenech Have you managed to find some kind of workaround ?
I have similar problem now.
from dcind.
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)
- License HOT 2
- Using cache HOT 2
- Support for systemd HOT 2
- try_start: command not found HOT 1
- Docker daemon not started in concourse task (README example broken) HOT 3
- Error in latest image HOT 4
- Tag builds on Dockerhub HOT 6
- Require image for ARM64 architecture
- Update alpine or offer multiple platforms? HOT 1
- Can you provide this image on something other than alpine? HOT 1
- Supporting this image at my fork
- Update to alpine 3.7 HOT 1
- Docker Container does not get attached / Test not visible HOT 2
- Update to Newer Version of Docker HOT 1
- Cannot start docker host
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dcind.