Actions
Bug #4438
closed[DRAFT] [SDKs] arv-keepdocker should be smarter about caching the image to upload
Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
SDKs
Target version:
-
Story points:
-
Description
As of this writing, when arv-keepdocker uploads an image to Keep, it saves the image to disk first, under ~/.cache/arvados/docker
. It will use this cache to resume an interrupted download.
On shell nodes, this has been known to fill the home directory partition. When this happens, you get the lovely error message "write /dev/stdout: no space left on device"
arv-keepdocker should be smarter about this cache. Possibilities:
- Check space available on the home directory partition. If there's not enough space to save the Docker image, don't try; just pipe
docker save
directly intoarv-put
. - Support caching the image somewhere else of the user's choosing.
- Others? We should spec out a preferred approach before implementation begins.
Related issues
Actions