Coder.comC
Coder.com2y ago
3 replies
yangluo

The workspace is mounted in /workspaces by default. How to change it to another location?

Hi, I want to persist both /workspace and /home so that the software I install in the container and the code I write are safe even if the pod is restarted .
so I want to mount /workspaces to another location, such as /home/coder/workspaces. how to achive that, or are there any good ideas?
Thank you !
Was this page helpful?