Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No space left on device #78

Open
Nyholm opened this issue Nov 27, 2020 · 3 comments
Open

No space left on device #78

Nyholm opened this issue Nov 27, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@Nyholm
Copy link

Nyholm commented Nov 27, 2020

I build plenty of PHP extension and I think it is larger that 5GB.

I get the following output:

Error response from daemon: write /var/lib/docker/tmp/docker-export-122249911/afb84dc4c4395339966/layer.tar: no space left on device
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors

And nothing get's saved. Is there away around this some how? Ie, only save named images? Saved 50% of the images only.
Could one increase the cache somehow?

@Nyholm Nyholm added the bug Something isn't working label Nov 27, 2020
@pbeeson
Copy link

pbeeson commented Jan 5, 2021

At the VERY least, it would be helpful to add to the package README that this is limited to 5GBs of layers. You might think people would know this, but not everyone knows the caps on the github cache.

That said, this works great for my < 5GB projects. Thank you for making it.

@nickjj
Copy link

nickjj commented Feb 21, 2021

I'm running into this issue in spots that I can't explain. The image being built is 495mb based on the file size reported by Docker when it successfully builds on my dev box. That's the entire image size too, not just 1 layer.

For example, here's a link to a run that worked fine without issues:
https://github.com/nickjj/docker-rails-example/actions/runs/585129343

Then I made a commit that updated 2 text files, and now it says the device has no space left and fails after 45min, that run is at:
https://github.com/nickjj/docker-rails-example/actions/runs/585166083

The commit in question is: nickjj/docker-rails-example@3dac2b1, which is basically no different than the previous commit that worked.

Although it is worth mentioning I did force push that commit that is failing in pipelines due to being out of space. I know it's not a best practice but I had to do it and it was like 1 minute after I pushed it initially on a low traffic repo. Do you think that has an effect?

Edit:

Removing this action results in things working again. Here's a link to a PR in one of my repos nickjj/docker-rails-example#7 that includes a screenshot of the exact disk space error that this action was throwing.

Looking forward to adding it back into my projects but for the moment I've removed it.

@mrserverless
Copy link

I think this is the duplicate of #139, I've done some research on this topic and left a comments on workarounds there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants