ess-dive / docker-metacat

Other
0 stars 0 forks source link

write /tmp/metacat-index.war; no space left on device #36

Closed mamelara closed 2 years ago

mamelara commented 2 years ago

The docker-metacat image build fails with the following error on data2.ess-dive.lbl.gov:

step 10/31 : ADD metacat-bin-${METACAT_VERSION}.tar.gz /tmp/
Error processing tar file(exit status 1): write /tmp/metacat-index.war: no space left on device

To my knowledge that has not happened with previous versions. It may be that the index has gotten bigger in size?

To replicate, build the image using build_failover.sh and you will see the image fail at that step. Metacat version is 2.16.2

vchendrix commented 2 years ago

@mamelara This is a problem with the local docker installation. You probably just need to perform a 'docker prune'. See https://jhooq.com/docker-error-no-space-left/

mamelara commented 2 years ago

It looks like running docker system prune helped the build move forward. I'll close this for now.

[essdive@data2 essdive-appstack]$ docker images
REPOSITORY                                                TAG                             IMAGE ID       CREATED         SIZE
registry.spin.nersc.gov/m2690/metacat-solr                2.16.2-8.11.1-p78               b2ad90377541   2 minutes ago   564MB
registry.spin.nersc.gov/m2690/metacat                     2.16.2-p78                      df04fc84b67d   2 minutes ago   1.5GB
solr                                                      8.11.1                          54cc0c908686   4 weeks ago     563MB