a year ago
Description: Self-Hosted Cloud Development Environments
Category: Other
6 Replies
a year ago
Is this any different from what it used to be? Should I update to this template?
a year ago
It is the same. I updated the Postgres database to a service from the now deprecated old databases.
10 months ago
@coder, I am trying to get coder up and running on Railway. I am getting the following error when trying to create a docker template:
```
Error: Error pinging Docker server: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
```
Since I cannot SSH into the Coder instance, I can only assume that docker isn't setup or the coder user isn't added to the docker group. Any help would be appreciated. I love using this service. My homeserver SSD failed recently. I'd love to be able to move my work here and really enjoy using Coder.
10 months ago
Railway unfortunately doesn't support Docker-in-Docker at the moment, so you'll have to use a different system for your templates. That said, I made a Coder template that uses Railway services a while back that should mostly work.
louiswhit
@coder, I am trying to get coder up and running on Railway. I am getting the following error when trying to create a docker template:```Error: Error pinging Docker server: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?```Since I cannot SSH into the Coder instance, I can only assume that docker isn't setup or the coder user isn't added to the docker group. Any help would be appreciated. I love using this service. My homeserver SSD failed recently. I'd love to be able to move my work here and really enjoy using Coder.
6 months ago
Hi, Railway runs Coder in a Docker container, which does not have access to a running Docker Daemon. So, it can not spin further docker based workspaces. You can edit the docker template to connect remote host via SSH. https://coder.com/docs/admin/templates/extending-templates/provider-authentication#use-a-remote-docker-host-for-authentication