![Forrest logo](/images/logo.png)
gitlab-runner:tldr:192c4
The command sudo gitlab-runner verify
is used to verify the configuration of the GitLab Runner. It is executed with root privileges (using sudo
) to ensure that it has the necessary permissions to perform the verification.
When you run this command, the GitLab Runner checks its configuration file (config.toml
) and verifies various settings, such as the paths to binaries, the registration token, and other relevant configuration options. If there are any issues or errors in the configuration, they will be reported in the command output.
By verifying the configuration, you can ensure that the GitLab Runner is properly set up and ready to execute jobs for GitLab CI/CD pipelines. This command helps in troubleshooting configuration-related issues and ensuring that the Runner is correctly configured before using it for CI/CD tasks.