Cleanup GitLab Runner Docker Cache
If you have a self-hosted GitLab Runner with Docker executor, you need to periodically clean up Docker containers and volumes left by job executions. Otherwise, the runner machine will eventually run out of space. GitLab Runner installation comes with a script designed to accomplish cleanup: /usr/share/gitlab-runner/clear-docker-cache To see how much space can be reclaimed, run: sudo /usr/share/gitlab-runner/clear-docker-cache space To run cleanup every Sunday at 2:00 AM, add the following using the sudo crontab -e command: ...