Coder.comC
Coder.com2y ago
9 replies
privetartyomka

Docker-in-Docker with sysbox on Kubernetes

Hi! I'm trying to setup sysbox-runc using the instructions provided in https://coder.com/docs/v2/latest/templates/docker-in-workspaces#use-sysbox-in-kubernetes-based-templates (and previously installing the sysbox on the k8s cluster in question). However, when I'm creating a new workspace I get the following error:
Error: pods "coder-artyom-artyom-test-sysbox-coder" is forbidden: pod rejected: RuntimeClass "sysbox-runc" not found
on main.tf line 205, in resource "kubernetes_pod" "main":
  205: resource "kubernetes_pod" "main" {


I can definitely see the sysbox-runc runtime existing on the cluster. Wondering what can be wrong?
Use Docker inside containerized templates
Docker in workspaces - Coder v2 Docs
Was this page helpful?