I am on a Docker Pro tier, and am running a docker build using docker buildcloud, which is activated from a github actions. I have done this previously with other dockerfiles, and it has worked wonderfully.
Today I was testing with a bigger dockerfile, and I get this error:
buildx failed with: ERROR: failed to solve: ResourceExhausted: ResourceExhausted: mount callback failed on /tmp/containerd-mount2183935378: mount callback failed on /tmp/containerd-mount1296751711: failed to write compressed diff: failed to create diff tar stream: failed to copy: write /buildkit/data/runc-overlayfs/content/ingest/519a11a8df929842d1ae6aabefbe606b818c79c4bc4c5b1ca69308f06eb4dade/data: no space left on device
I tested twice, and both times it happened. This is at the last step of my dockerfile, after everything has been built. What should i do?
This is the github actions:
name: "Cloud Build"
on:
workflow_dispatch:
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
version: "lab:latest"
driver: cloud
endpoint: "MY_USERNAME/default"
- name: Build and push
uses: docker/build-push-action@v5
with:
file: Dockerfile
tags: MY_USERNAME/IMAGE:TAG
platforms: linux/arm64
push: true
Is the issue related to Docker Buildcloud not having enough space, or is it Github Actions not having enough space?