Skip to content
Builds failing at "exporting to docker image format": no space left on device (please increase build disk)
seizemode3
OP

5 days ago

Hi Railway team,

Since 2026-11-14 12:04 UTC, every build of our web service fails at the image export step:

failed to copy to tar: rpc error: code = ResourceExhausted desc = write /var/lib/builder/build-sessions//oci-export-XXXX: no space left on device

The Dockerfile build itself finishes fine; only "exporting to docker image format" fails. The last successful build was at 10:17 UTC the same day with essentially the same size (~5.7 GB repo, mostly images). Since then 9 builds failed in a row. We already trimmed .dockerignore, removed chromium from the image, and set NO_CACHE=1, with no change. The live deployment is fine, but we can't ship fixes.

Project: 49dc3702-b9b2-4e56-a284-362549c9b9ad

Service: web (69a6963f-d119-4e2e-9fb9-f97295328924), environment production

Latest failed deployment: 7681aeda-7a2e-4e98-b106-154c7146ef7f

Other failed ones: 0728be6a-44c4-4c2a-93af-bdc6507abe36, d90b93fc-c0d6-4055-8eba-60b28c1cce8d, f93c171d-0a5f-445d-a4fc-ebeacdccbe20

We're on the Pro plan. Could you increase the build disk for this service (we saw other threads where it was raised to 64 GB)? Longer term we're splitting the large image assets into a separate service.

Thank you!

Awaiting User Response

1 Reply

Status changed to Awaiting Railway Response Railway • 5 days ago


5 days ago

I've increased the build disk size to 64 GB for the linked service only. Long term, please work on getting your builds to a place that won't require > 32 GB of disk space.


Status changed to Awaiting User Response Railway • 5 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...