I am building a docker image of an application using the GitLab ci pipeline and when the docker build command is running, I am getting this error:
Error processing tar file(exit status 1): write /usr/src/app/.git/objects/pack/tmp_pack_fgZvnM: no space left on device
And this error is occuring during the COPY .. command. I don't have any idea how to fixx it. If anyone knows please tell.
Thanks & Regards Piyush
CodePudding user response:
Firstly try running docker image prune
to clean up all dangling images on your machine.
If the issue still persists then check this :