#Railway does not allow Docker Handling

4 messages · Page 1 of 1 (latest)

trim plank
#

My Backend published on Railway is written in Python FastAPI. The build goes well but as soon as it wants to deploy, I get an error with Docker. Because my Backend needs access to Docker. It uses the dockersdk python package to open and communicate with containers. Thats the error I get upon deployment:

docker.errors.DockerException: Error while fetching server API version: ('Connection aborted.', FileNotFoundError(2, 'No such file or directory'))

That error happens, when docker is not found. Now I believe that Railway does not allow using Docker on your own. Is there a workaround?

cedar acornBOT
#

Project ID: N/A

trim plank
#

N/A

lucid viper
#

I'm sorry but we do not provide access to the docket socket, nor can you run Docker in Docker