joenas
joenas
CCoder.com
Created by joenas on 12/14/2024 in #help
Cannot run Docker in Docker anymore
My Coder instance started behaving very strangely this (or last) week. I'm running it through docker and have installed sysbox do be able to run docker containers within my workspaces. It's been working perfectly fine up until now. Now every time I try to start a docker container I get this:
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "proc" to rootfs at "/proc": mount src=proc, dst=/proc, dstFd=/proc/thread-self/fd/9, flags=0xe: no such file or directory: unknown.
I've tried trouble shooting by - using different versions of Docker Engine in the workspaces - using different versions of Coder docker image - recreating workspaces - used different templates and users - comparing output of docker inspect for containers to see what might differ So far my only conclusion is that old workspaces created before this week still work fine but any new ones I created will have the above error. Anyone else have or has had this problem? What else can I do to trouble shoot? Cheers /Jon
5 replies
CCoder.com
Created by joenas on 8/12/2024 in #help
Error with Github external auth
I've set everything up according to the guide AFAICT but when clicking the button in Settings I get a popup with
{"message":"State mismatched."}
{"message":"State mismatched."}
I have some experience with creating OAuth apps etc but this one is kind of hard to debug.
7 replies
CCoder.com
Created by joenas on 7/21/2024 in #help
Provide git repo as parameter
Hey! First of all, amazing product. I love it so much already and I’ve barely scratched the surface. Right now I’m trying to create a baseline template for most of my projects, so naturally I want to be able to provide a repo as parameter to template and have it cloned on start. I copied what’s in https://coder.com/docs/templates/open-in-coder but I thought it would work as it does when I connect to a workspace and can immediately clone my repositories, since I’ve already added the Coder key. But instead the startup script fails when using ssh url, with something in the lines of “can’t connect to remote” etc etc. Why? 😄
29 replies