Mode:
Duration:
1
Coding works best on desktop or with an external keyboard.
Coding works best on desktop or with an external keyboard.
A simple Nomad job to run an Nginx container.
# nomad/demo/nginx.nomad
job "nginx" {
type = "service"
datacenters = ["dc1"]
group "web" {
task "nginx" {
driver = "docker"
config {
image = "nginx:1.21"
ports = ["http"]
}
resources {
cpu = 500
memory = 256
}
service {
name = "nginx"
port = "http"
}
}
network {
port "http" {
static = 8080
}
}
}
}HashiCorp Nomad is a highly available, distributed, and flexible workload orchestrator designed to deploy and manage containers, virtual machines, and standalone applications across any infrastructure.
Origin & Creator
Developed by HashiCorp, first released in 2015.
Industrial Note
Nomad is widely used in enterprises for running heterogeneous workloads with minimal operational overhead, especially where organizations require multi-cloud or hybrid-cloud orchestration without being locked into Kubernetes.