Coder.com

C

Coder.com

Community server for Coder.com, an open-source platform for cloud development environments.

Join

help

📢︱announcements

Is there any way to persist files when restarting a coder workspace?

I’m using coder_agent, and in the startup_script, I have logic that clones a Git repo and runs yarn install. The problem is that the yarn install step takes about 10 minutes, which significantly slows down workspace startup. However, I only really need this to run the first time the workspace is created — not every time it’s restarted. I tried adding a check like this:...

persist ubuntu updates and added packages

How can i keep the updates ive applied and packages I've added in the included terminal. after reboot all the changes i've made, except the files in the /home/coder directory are reverted

EKS/ECR envbuilder layer cache

I'm trying to setup devcontainer layer caching. I started out with the aws-devcontainer starter template, and I have a repo in ECR which I have filled in to the "cache_repo" variable. But when I start the workspace, I see the following:
Failed to find cached image in repository "[aws-acct-id].dkr.ecr.us-west-2.amazonaws.com/envbuilder-cache". It will be rebuilt in the next apply. Error: failed to fetch the envbuilder binary from the builder image: check remote image: check remote image: GET https://[aws-acct-id].dkr.ecr.us-west-2.amazonaws.com/v2/custom-envbuilder/manifests/latest: unexpected status code 401 Unauthorized: Not Authorized
Failed to find cached image in repository "[aws-acct-id].dkr.ecr.us-west-2.amazonaws.com/envbuilder-cache". It will be rebuilt in the next apply. Error: failed to fetch the envbuilder binary from the builder image: check remote image: check remote image: GET https://[aws-acct-id].dkr.ecr.us-west-2.amazonaws.com/v2/custom-envbuilder/manifests/latest: unexpected status code 401 Unauthorized: Not Authorized
...

code-server as a frontend for JupyterHub

Hi there! Does anyone have experience with hosting code-server directly as the primary frontend of a container running on a K8s JupyterHub? I'm successfully capable of running it from an initialized container that runs JupyterLab, but I would like to completely swap out JupyterLab in favor of code-server. That way. you could manage a multi-tenancy code-server environment that leverages JupyterHub's admin....

Template limits

Is there anyway to set limit for a user or a template for using ram, memory , etc?
Solution:
you can only set memory limits and limit containers to specific cpu cores with docker, if you need more precise limits you'll need to move to another runtime e.g kubernetes see https://discord.com/channels/747933592273027093/1336645061030449163...

Waiting for IU backend

I installed the Coder plugin on Jetbrain's Gateway and when I connect to a workspace it downloads the latest version of IntelliJ Ultimate but then hangs on Waiting for IU-243.21565.193 backend My coder server is running on Ubuntu server 22 in a Docker setup I am trying to connect from Windows 11...

IntelliJ Community

Does coder support the community version or only the Ultimate version?

Devcontainer Template Ignores GPU Limits (All GPUs Visible)

Hey folks 👋 I'm running into an issue with GPU isolation in two different Kubernetes-based Coder templates: Template A: Uses the Kubernetes (Deployment) template → GPU isolation works as expected. If I select 1 GPU, the container only sees 1 via nvidia-smi....

Need to build custom code-server

Hello, I need to remove and add few patches and build my custom code-server. Can you please explain steps for it. I have followed steps given in code-server repo but I am not able to build it. Thanks...

OIDC through Iframe question

As shown in the video, I have this setup with coder embeded in an Iframe in my react frontend I want to secure everything behind a single keycloak connection, I have set it up as OIDC provider, and i use the same OIDC client for both coder and my front-end My question is: Is there a way to make it so i don't have to click "login with oidc" button in the iframe?...

Issue with Cloning a Specific Branch from a Private GitLab Repo Using SSH in Envbuilder

Hi everyone, I'm encountering an issue when using Envbuilder with SSH for cloning private repositories. Here's what I've noticed: When I work with a public repository and use HTTPS, everything works fine. I can clone the main branch and even specify another branch, as described in the documentation, like this:...
Solution:
I have opened an issue so our engineers can take a look at implenting it -> https://github.com/coder/envbuilder/issues/456 in the meantime I'd suggest you'd look into using External Auth instead of using HTTP deploy tokens...

Are there any implications if everything is ran in the same Kubernetes Namespace?

Is it possible to run all the Coder's components (coderd, provisionerd etc) in the same Kubernetes Cluster and namespace as user workspaces? Are there any disadvantages to this approach? Or are there any impacts?...

Static URL for coder workspaces

Hey there, We're looking to use coder to interact with some third party APIs. As part of that, we have to register the coder URLs on an allow-list. Is it possible to use static / consistent URLs for coder workspaces? Is it as simple as always naming the workspace the same name? (We also need to support webhooks coming into the workspace, which would also be solved by consistent URL names)...

Issue in docker-in-docker devcontainer

getting below issue while running docker-in-docker in devcontainer: "Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the daemon runningg?"...

CI test policy

I want to mark my PR as ready for review after passing the CI tests, but it's currently pending approval. Is there any policy regarding this?...

Coder Instance is Infinitely loading

I'm having trouble accessing my coder instance, I get an infinite loading spinner.

"The agent cannot authenticate until the workspace provision job has been completed"

Trying to create a template for use with XCP-ng/XOA, I am provisioning the VM with cloud-init. At first start, it works perfectly but when shutting down and restarting the workspace through Coder (and not while directly shutting down the VM) the coder-agent can't authenticate. full source: https://github.com/Millefeuille42/coder-xcp-xoa-template#...

Inquiry Regarding Modification of Copyright Notice in Front-End UI under GNU License

Hello, I am writing to inquire about the GNU license. I have a question regarding whether it is acceptable to modify or remove the "Coder copyright(© 2025 Coder Technologies, Inc.)" text that is displayed in the front-end UI, and replace it with alternative wording. Thank you very much for your assistance....

are the latest mainline releases on brew?

When I brew upgrade coder it remains at 2.20.0 Thanks 🦈...

How do I install direnv on my coder workspace?

Hi everyone how do i get direnv a few other stuff installed onto my Coder workspace? thanks