Docker in Docker

3 years ago

allow for running docker containers within railway deployments

17 Replies

Anonymous

3 years ago

is this not already a feature? or are you asking for something similar to docker-compose where you can run more than one container in a railway project?


3 years ago

is this not already a feature? or are you asking for something similar to docker-compose where you can run more than one container in a railway project?

Mykal Machon: no i believe this is asking for being able to spawn a docker daemon inside of a project


3 years ago

is this not already a feature? or are you asking for something similar to docker-compose where you can run more than one container in a railway project?

Milo: indeed


3 years ago

What would be a use case of this?


a year ago

One use case that I'm trying to do is deploying https://coder.com - it could use Railway services with a lot of configuration, but it would be significantly easier to use the built-in Docker template.


tiangao88HOBBY

a year ago

One use case that I'm trying to do is deploying https://coder.com - it could use Railway services with a lot of configuration, but it would be significantly easier to use the built-in Docker template.

I would need this too so I can use Docker inside code-server. Any news?


a year ago

Still not possible and it does not seem like there are currently any plans or interest in enabling the privileges needed to achieve this.


tiangao88HOBBY

a year ago

Still not possible and it does not seem like there are currently any plans or interest in enabling the privileges needed to achieve this.

Would it work with Podman?


a year ago

It would work with their current Docker runtime or their upcoming Podman runtime, but it's not a question of whether it can be done, it's a question of whether they want to allow it, and the answer to that seems like a No for right now.


tiangao88HOBBY

a year ago

Got it thanks! I guess it's to push for purchasing coder.com service instead of self-hosting


tiangao88HOBBY

a year ago

Just found this in coder.com FAQ
https://coder.com/docs/code-server/latest/FAQ#can-i-use-docker-in-a-code-server-container

What does this mean in the context of Railway?


a year ago

You simply can't do such things on Railway.


a year ago

I was working on a Coder template for Railway, but I was unfortunately stopped by some issues with the community Terraform provider.


a year ago

Templates don't use terraform, so I'm not sure what you where doing there, and isn't there already a Coder template?


a year ago

Not a Railway template, a Coder template. There's a Coder template that runs the dashboard on Railway, but I ran into trouble trying to get Coder to provision workspaces on Railway, for which it uses Terraform.


a year ago

Ah gotcha.


lequanghuylcHOBBY

a year ago

hello, I need docker in docker too, so I can be able to run Gitlab runner on Railway to build jobs for Gitlab CI piplines. Is docker in docker possible in the near future?


Docker in Docker - Railway Help Station