IS IT NORMAL FOR A GITLAB RUNNER TO NEED MANUAL CLEANUP EVERY MONTH?

Solvedcidisk-spacedocker3 replies · 253 views · started
Accepted solution by Zora — oh ive been there lol on build machines its almsot always Docker. See exactly how much: [code] then clean safely with docker system prune…
  1. ugh. every pipeline on our GitLab runner staretd failing at image push. The error is basically no space left on device, and the monitoring shows this:

    we never stored anything big on that machine. I deleetd some old logs and freed maybe 2 GB, which was gone again after three builds. what is actually gorwing here?

    The runner builds maybe a dozen Docker images a day for a few repos. Nothing huge, i thought... i'm starting to suspect something is caching aggressively behind my back. What are the usual hiding spots on a build machine?

    6
  2. Do du and df roughly agree, or is there a big gap?

    7 5 helpful
  3. Accepted solution

    oh ive been there lol on build machines its almsot always Docker. See exactly how much:

    docker system df
    docker builder du
    

    then clean safely with docker system prune -af --filter "until=72h" and docker builder prune -af 🔥 Note -a also removes unused images, sooo teh next build will pull again.

    1 8 helpful

Reply to this topic

Sign in or create an account to reply.