-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Caching docker directory to speed up image loading #22
Comments
@fenech Have you managed to find some kind of workaround ? |
@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 |
Note that the concourse documention on caches states:
I usually set up caches in concourse like this: script in the task amounting to (.sbt is just an example directory):
cache configuration in the task declaration
Perhaps you could confirm if that approach works for you (applied to the directory |
Hi, I have a Concourse build task that looks like
The problem is that some of the images are quite large and this makes the task slow to run.
I thought that it might be possible to cache
/scratch/docker
in my build configuration:But it seems that this doesn't have any effect -
docker images
returns an empty list before I rundocker load
.How can I cache the images loaded in previous builds to speed up my build task?
The text was updated successfully, but these errors were encountered: