Standard Kube install fails for docker template
I followed the standard guide to install Coder on our Kubernetes offer (I work at OVHcloud)
Coder starts well but when I try to create a Docker template, I have an error about Docker daemon.
I do not see any explanation on specific modification to do on deployement so I'm all ears to any advice.
Error =>
Solution:Jump to solution
yeah the general expectation with k8s is that the backend could be anything, it doesn't have to be docker
12 Replies
<#1234520124611100813>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
To use the docker template when Coder is deployed via K8s. Coder pods needs access to the system docker socket if you want to provision docker workspaces
The expectation is that with K8s installation, the preferred infrastructure for workspaces will be Kubernetes pods too
Another option can be to update your template to use a remote docker host.
oh... I think I got it: Kube install expects to start with Kube templates
Docker - Coder v2 Docs
Set up Coder with Docker
Refer to this for using a remote docker host.
Yes. That's the benefit that workspaces can be hosted as K8s pods too
Feel free to ping me if you need any further help.
I started with a simpke VM installation and so I used docker template. It makes great sense to use now Kube template, thanks
Makes sense.
Solution
yeah the general expectation with k8s is that the backend could be anything, it doesn't have to be docker
so with Kubernetes you don't usually use the backend directly (Docker in this case) unless you really need to
and if you really need to do that then you won't benefit from k8s specific features
can we close the issue now that it's clearer ?
Oh I did not know it was considered an issue so of course you can close it 🙏
yeah we have a lifecycle for threads so we can do some filtering!
@Phorcys closed the thread.