envbox icon indicating copy to clipboard operation
envbox copied to clipboard

Caching support for inner image?

Open iamriajul opened this issue 5 months ago • 2 comments

Every time I launch a new workspace with envbox, and it's downloading the huge image for development environment, which takes times and consume unnecessary bandwidth. Without envbox the k8s serve the image from cache resulting in faster new workspace launch.

iamriajul avatar Aug 15 '25 13:08 iamriajul

Hey,

you can achieve this by mounting the following directories of the envbox container to a persistent volume:

/var/lib/coder/docker 
/var/lib/coder/containers 
/var/lib/containers 
/var/lib/docker 

MoeRT09 avatar Aug 19 '25 11:08 MoeRT09

Does this work with multiple workspaces? I used zot registry as mirror to solve my case.

iamriajul avatar Aug 27 '25 10:08 iamriajul