Middle
What types of Docker Runners are there?
sobes.tech AI
Answer from AI
- Docker Engine
- Docker Desktop
- Docker Swarm
- Kubernetes
Some other tools may also use Docker as the execution environment:
- GitLab Runner with executor type
docker - Jenkins with Docker plugin
| Runner Type | Description | Usage |
|---|---|---|
| Docker Engine | Native Docker daemon running on a server. | Production systems, local development. |
| Docker Desktop | Docker version for desktop OS with GUI. | Local development, testing. |
| Docker Swarm | Built-in Docker container orchestration tool. | Cluster deployments, scaling. |
| Kubernetes | Powerful container orchestration platform. | Complex distributed systems, scaling. |
// Example configuration of GitLab Runner using 'docker' executor
runners:
- name: "My Docker Runner"
url: "http://gitlab.com/"
token: "YOUR_TOKEN"
executor: docker
docker:
image: alpine:latest # Default image used
privileged: true