Middle
What are the types of Docker Runner?
sobes.tech AI
Answer from AI
- Exec Runner: Launches a new job within a separate session in a container. Easy to use, suitable for small and simple builders.
- Docker Runner: Launches a new job as a separate container on a Docker host. Isolation, scalability, ability to use different images.
- Docker+Machine Runner: Launches a container on a remote host managed by Docker Machine. Dynamic resource allocation, flexibility, suitable for cloud environments.
- Kubernetes Runner: Runs a job as a Pod in a Kubernetes cluster. High availability, scalability, integration with the Kubernetes ecosystem.
- Shell Runner: Executes a script directly on the host where GitLab Runner is installed. Simple, fast, but lacks isolation.
- SSH Runner: Executes a script on a remote server via SSH. Useful for tasks on specific environments.
- Parallels Runner: Runs tasks in Parallels Desktop virtual machines. Relevant for macOS.
- VirtualBox Runner: Runs tasks in VirtualBox virtual machines. Suitable for local development and testing.
The choice of Runner type depends on the project specifics, required isolation, scalability, and existing infrastructure.