← Back to all services
Version Control

GitLab Runner CI/CD Configuration

gitlab-runner systemctl: gitlab-runner

CI/CD runner for GitLab. Executes pipeline jobs. Supports Docker, shell, K8s executors.

🔌 Default Port

N/A
N/A
Outbound to GitLab only

📦 Installation Command

curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.deb.sh | bash && apt install gitlab-runner

⚙️ Configuration Files

  • /etc/gitlab-runner/config.toml

📂 Default Directories

  • config: /etc/gitlab-runner
  • data: /home/gitlab-runner
  • logs: /var/log/gitlab-runner

🔐 Default Credentials

Username:gitlab-runner
Password:N/A
💡 Registration token from GitLab. Run: gitlab-runner register

📌 Dependencies

docker (for Docker executor)

⚠️ Conflicts

N/A Port: N/A

✅ Works With

gitlabdockerkubernetes

🛡️ Security Notes

Use Docker executor for isolation, limit runner to specific projects, use protected variables, don't run as root

❓ Frequently Asked Questions

What port does GitLab Runner use?
GitLab Runner doesn't listen on a port - it polls GitLab server for jobs.
How to register GitLab Runner?
Run: gitlab-runner register and provide GitLab URL and token.
Where is GitLab Runner config?
Config at /etc/gitlab-runner/config.toml.