Coder.com

C

Coder.com

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

Join

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

Setting up CA certificate for the container

Hey there! I'm hosting Coder on a Redhat VM that is already configured with it's certificate from our CA. However, I'm having a hard time trying to set it up on the container. After starting the workspace if I check the docker logs of the container I get...
Solution:
Updating here in case it helps someone going through something similar, the "unable to get local issuer certificate" as the error itself suggests was a problem with how our intermediate certificate was generated. However, using a self-signed certificate to validate it still caused the "could not resolve hostname" error when trying to open Coder on VS Code Desktop extension. It was necessary, in addition to including the self-signed certificate in the trust store of our machine, which had already been done, to add the environment variable NODE_EXTRA_CA_CERTS on the machine pointing to the path of the certificate....

v2.19.1 CODER_OIDC_ALLOWED_GROUPS completely ignored

I'm trying to setup OIDC login for coder and found that it does not honour the environment variable CODER_OIDC_ALLOWED_GROUPS. whatever I do, the user is logged in. Can you help ?

v2.19.1 - coder config-ssh deletes entire config

We recently had our Coder server updated to 2.19.1 and upon running coder config-ssh it just deletes the entire Coder list of sites from the ~/.ssh/config, so can no longer connect to any workspace in VS Code or PHP Storm. On macOS, and I've tried removing the CLI, reinstalling the CLI, and using coder login to authenticate again....

Error while install Docker template

error log ``` Error: Error pinging Docker server: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fdocker.sock/_ping": dial unix /var/run/docker.sock: connect: permission denied on main.tf line 22, in provider "docker": 22: provider "docker" {...

Workspace AWS role access?

I checked in GH and searched in discord, not finding anything. I'm looking for a way (similar to the github external auth) for a user of a workspace to automatically have aws role assumption inside their workspace. I'm assuming it'd have similar user experience to GH external auth, where you click a button exposed in the template->workspace creation step and from there your workspace is "aws" potent (ie. you could issue an aws sts get-caller-identity after entering the workspace) Thoughts?
Is this feasible? Would it work with AWS OIDC/IAM or AWS Identity Center?...

continue extensions can not work

continue extensions can not work correctly in the centos 7 on code server lasted version , can anyone issue itοΌŸπŸ‘€

Dev Containers without the Dev Containers extension possible using code-server?

Typically with vs-code, i'd use the remote connection and dev container extensions to 'connect' to a Dev Container, however from my understanding from various posts on the internet, it appears this method isn't possible using code-server due to licensing restrictions on these extensions. If that's true, are there any workarounds? Thanks in advance for taking a look!...

coder machines not shutting down in the expected manner after user inactivity

How is "inactivity" detected for coder instances? We have been working to reduce costs of coder instances and noticed that in some cases, coder machines will not shut down when we expect them to. What constitutes "inactivity" as described here: https://coder.com/docs/user-guides/workspace-scheduling and is there any guidance on how we can debug what prevented an instance from shutting down?

PATH getting overwritten on Windows VM

Hello! I am a very new coder user. Recently our corpeng started to a trial of this tool and we can provision Windows machines with it. This is amazing because I don't use windows much but still can test stuff on demand. I wrote myself a script which sets up machine and just copy-paste it. Big problem is that PATH getting wiped every time I do ssh coder.my-machine. I spend too much time browsing terraform files, but there is nothing indicating changin $env:Path. Only thing which isn't clear what's doing is ${coder_agent.main.init_script}. I tried adding items to my profile. I see them executing (echoing) when I ssh in, but path is overwritten after. Please help....

Github Oauth Config Issue

I've installed coder-server today. I'm trying to configure Github Oauth with no success. I've been trying for hours and I'm at a dead end, becoming increasingly frustrated. I've tried to follow the instructions, even asked AI for help and still not getting anywhere. I've done what I thought was right in the config.yaml file and systemd I think it was but no matter what I try, I just get a 502 gateway error. I'm using Nginx for the proxy. Anyone able to help me finally get this working and fix th...

[BUG] Coder v2.19.1 on EKS - port-forwarding UI button disappears after some time

Hi all - currently running Coder v2.19.1 on EKS with wildcard subdomain proxying. Works like a charm. However, I notice after a while, the "Open ports" button on my Coder agent's UI disappears. It comes back right away after I restart my Coder server's pod. The same applies to Coder apps that use subdomains. Additionally, having saved the URL of one of my subdomain-routed apps, the actual app remains accessible even though the "open ports" button disappeared and that app's button became unclickable. Accessing the URL made those buttons alive again the same way restarting my Coder Server pod did. For context, workspaces run on EC2 instances that are started/stopped - so not ephemeral. The coder_agent resource is persisted accross restart, i.e. I am not using the 'count' parameter. If curious why, this prevents me from modifying the EC2's 'user_data' cloud-init script, which otherwise makes start/stop operations very slow....
No description

Installing coder in EKS

Hello, I'm trying to install Coder and I'm having some difficulty connecting everything. 1. I created an NLB with Ingress Nginx (basic config: ports 80 and 443). The certificate is from ACM. 2. In the Helm chart for Coder, I configured Cognito, set the URL with my NLB DNS, and enabled ClusterIP. 3. I created an Ingress (not in the Coder Helm chart) to point to port 80....
Solution:
Yes πŸ™‚ in the config i missed "internet-facing" x_x thanks to GPT haha, but i wonder if the team who code the template file for the load balancer parameter to check if they can add the security group option πŸ™‚

Code-server remove parts of activity bar

Hello, new to code-server πŸ™‚ I deployed it using a Dockerfile with the codercom/code-server:latest base image. However, I am trying to do a minimalistic approach and only using some of its features (file explorer and search). Because I do not need all of the git/chat/debug/test functionalities, I was wondering if its possible to remove their functionalities and icons from the activity bar...