Recover a Corrupt Google Cloud VM with Disk Space Issues Caused by Docker

Google Cloud VMs can sometimes get stuck or become inaccessible due to disk space exhaustion — often from leftover Docker images, containers, and volumes accumulating after CI/CD pipelines. Here’s a clear, practical step-by-step guide to restore your VM and clean up Docker efficiently. Scenario Step 1: Create a Rescue VM and Attach the Corrupt Disk … Read more

Fixing GitLab Runner Shell Executor Permission Issues on Ubuntu 20-25

The Issue: The error typically occurs when the GitLab Runner shell executor doesn’t have the necessary permissions to access or execute files in the /home/gitlab-runner directory. This can happen if: The Solution: A straightforward fix is to remove all dotfiles (.*) in the /home/gitlab-runner directory. These files might be causing the permission errors, especially if … Read more

Troubleshooting TLS Certificate Verification Issues with GitLab Runner

When setting up GitLab Runners to connect to your GitLab instance, you may encounter TLS certificate verification errors, especially when using self-hosted GitLab servers or servers with certificates from certificate authorities (CAs) not included in your system’s default trust store. This article walks through diagnosing and resolving these issues to successfully register your GitLab Runner. … Read more