Coder.comC
Coder.com2y ago
9 replies
MRColorRain

Kubernetes with DinD bind volumes issues

Hello everyone,

I'm running Coder in my Kubernetes cluster on my Ubuntu 22.04 server. I've created a template based on the default Kubernetes template plus the edits to run a privileged sidecar to be able to build and run Docker images inside the workspaces.

Unfortunately, I can't use sysbox and envbox as they fail (sysbox install on nodes fails during the sysbox installer helper step, and envbox throws an error about the driver not supported: overlay2). So, I had to take the privileged DinD sidecar option. But I think I have to make the sidecar container able to use the storage of the main workspace container to be able to mount the folders as binded volumes.

- Any tips on how to solve this issue?

- Also, I have to make NVIDIA GPU acceleration available to all containers running, not only for the workspace.
Was this page helpful?