aaabdulkarim
HOBBYOP
a year ago
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?
3 Replies
a year ago
I'm sorry but we do not provide access to the docket socket, nor can you run Docker in Docker