Coder.comC
Coder.com3y ago
6 replies
jj1122_

How to make entire workspace persistence?

Hello again!
This may be a silly question that shouldn't be used in production but, I can't find related reference :/

I agree that only workfolder should be persisted to save resources but for testing purposes, it would be pretty neat to have everything persisted for testing things (like installing new packages, and messing with configs)

read few documentation including https://coder.com/docs/v2/latest/templates/resource-persistence and https://registry.terraform.io/providers/kreuzwerker/docker/latest/docs/resources/container#nested-schema-for-volumes but had no luck.

I am working on Develop in Docker template and attempted to change container_path path to
/
but it just gave invalid specification: destination can't be '/' error.

Any hints would be appreciated..
Thanks!
Learn how resource persistence works in Coder
Resource Persistence - Coder v2 Docs
Was this page helpful?