I have a docker-compose file that runs our ci env. Included are many containers (Docker repo, drone, drone runner, postgress, gitea). We are currently running version 1.12, I want to pull the latest and rebuild.
Process:
docker-compose stop
docker-compose pull gitea
docker-compose up --build
Problem:
Stuck on the “Building gitea” after running the build command. Doing a “df -H” shows that I have 0 disk space.
Trouble shooting:
- I ran system prune, and volume prune, this freed up 60 gigs
- The system sits on a 200gig hard drive, 100gigs of which were being used. So before my build I had around 100gigs of space available. I also checked (and think) gitea only uses around 4 gigs of space, not sure if this is true.
- Docker file currently has gitea set to use “latest”
Why is gitea build filling up the hard drive?
Is there a proper way to upgrade only the gitea container image?