Skip to content
Docker build fails: BuildKit overlay mount error — invalid argument
levon931
OP

25 days ago

Hello,

My ShiaiManager service fails during the Docker image build, before application compilation.

Two consecutive deployments failed, including a retry triggered by a new GitHub commit.

The failure occurs at WORKDIR /app and WORKDIR /src:

Build Failed: build daemon returned an error

failed to solve: mount source: "overlay" [...] err: invalid argument

Could you please investigate the builder and its storage/cache?

I have attached a screenshot of the build logs.

Thank you.

Solved

1 Reply

Railway
BOT

25 days ago

The failed build's log shows the error happens while the builder mounts its own layer cache, before any of your build steps run, so nothing in your repository or build configuration points to the cause. Your service builds in EU West, where we currently have an open incident causing some builds to fail early: Slow build snapshot uploads in EU West (Amsterdam).


Status changed to Awaiting User Response Railway • 25 days ago


Railway
BOT

18 days ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway • 18 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...