Build docker space error "failed to unmount target /tmp/containerd-mountxxxxxx"

br4q5 2023-04-13T15:59:22.132Z → Pushing image
br4q5 2023-04-13T15:59:41.874Z
→ ERROR: mount callback failed on /tmp/containerd-mount1711115842: failed to unmount /tmp/containerd-mount3022467301: failed to unmount target /tmp/containerd-mount3022467301: device or resource busy

Oh, I have the same problem just now…

I have found this link: Pulling image fails - failed to unmount temp mount - device or resource busy: unknown · Issue #5538 · containerd/containerd · GitHub

So it might be that image is too big?

this error should be fixed now

1 Like

@radames Finally pass that stage, thank you! I have got another problem however…

Could you try adding the following env variables at the end of you Dockerfile before the CMD ?

ENV PYTHONUNBUFFERED=1 \
	GRADIO_ALLOW_FLAGGING=never \
	GRADIO_NUM_PORTS=1 \
	GRADIO_SERVER_NAME=0.0.0.0 \
	SYSTEM=spaces
3 Likes

IT WORKS!!! Thank you!

1 Like