Coder.comC
Coder.com3y ago
5 replies
flyerzrule

Develop in docker workspace not working

Hi, I recently installed coder and I am having a hard time getting it to work.

I have tried installing coder both directly onto my machine (and running with systemd) and through the docker-compose file, both methods result in the same issue.

I have created a template based off of the starter template Develop in Docker and kept all of the settings to the default. When I try to create a workspace with the template, I dont get any errors in the Terraform and I see the docker container created. A few seconds after the docker container is created, it exits. Looking at the logs for the container I see that it is downloading the coder-linux-amd64 script and then get the following error when trying to run it: ./coder: 2: Syntax error: newline unexpected

I'm not really sure where to go from here, does any one know why this is happening?
Was this page helpful?