mirror of
https://github.com/kemko/nomad.git
synced 2026-01-03 08:55:43 +03:00
* create plugin author guide; remove concepts/plugins * style guide; update links * update cni redirect * move host-volume plugin to /plugins/. Add arch host volume content. * Apply Jeff's style guide updates Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com> * Create Base plugin API section, link to BasePlugin interface --------- Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com>
63 lines
2.3 KiB
Plaintext
63 lines
2.3 KiB
Plaintext
---
|
|
layout: docs
|
|
page_title: Configure Nomad task drivers
|
|
description: Nomad's bundled task drivers integrate with the host OS to run job tasks in isolation. Review conceptual, configuration, and reference information for the Docker, Isolated Fork/Exec, Java, QEMU, and Raw Fork/Exec task drivers.
|
|
---
|
|
|
|
# Configure Nomad task drivers
|
|
|
|
Nomad's bundled task drivers integrate with the host OS to run job tasks in
|
|
isolation. Review driver capabilities, client configuration, and reference
|
|
information for the Docker, Isolated Fork/Exec, Java, QEMU, and Raw Fork/Exec
|
|
task drivers.
|
|
|
|
@include 'task-driver-intro.mdx'
|
|
|
|
## Configuration
|
|
|
|
Refer to the [plugin block documentation][plugin] for examples on how to use the
|
|
plugin block in Nomad's client configuration. Review the [Docker driver's client
|
|
requirements section][docker_plugin] for a detailed example.
|
|
|
|
## Nomad task drivers
|
|
|
|
The Nomad binary contains several bundled task drivers. We also support
|
|
additional task driver plugins that you may install separately.
|
|
|
|
| Bundled with Nomad | Plugins |
|
|
|----------------------|-----------------------|
|
|
| [Docker] | [Exec2] |
|
|
| [Isolated Fork/Exec] | [Podman] |
|
|
| [Java] | [Virt] |
|
|
| [QEMU] | |
|
|
| [Raw Fork/Exec] | |
|
|
|
|
## Community task drivers
|
|
|
|
You may also use [community-supported task driver
|
|
plugins](/nomad/plugins/drivers/community/).
|
|
|
|
## Use task drivers in jobs
|
|
|
|
Refer to [Use Nomad task drivers in jobs](/nomad/docs/job-declare/task-driver)
|
|
for usage information.
|
|
|
|
## Create task drivers
|
|
|
|
Nomad's task driver architecture is pluggable, which gives you the flexibility
|
|
to create your own drivers without having to recompile Nomad. Refer to the
|
|
[plugin authoring guide][plugin_guide] for details.
|
|
|
|
|
|
[plugin]: /nomad/docs/configuration/plugin
|
|
[docker_plugin]: /nomad/docs/deploy/task-driver/docker#client-requirements
|
|
[plugin_guide]: /nomad/plugins/author/task-driver
|
|
[Docker]: /nomad/docs/deploy/task-driver/docker
|
|
[Exec2]: /nomad/plugins/drivers/exec2
|
|
[Isolated Fork/Exec]: /nomad/docs/deploy/task-driver/exec
|
|
[Podman]: /nomad/plugins/drivers/podman
|
|
[Java]: /nomad/docs/deploy/task-driver/java
|
|
[Virt]: /nomad/plugins/drivers/virt
|
|
[QEMU]: /nomad/docs/deploy/task-driver/qemu
|
|
[Raw Fork/Exec]: /nomad/docs/deploy/task-driver/raw_exec
|