open-nomad/e2e/nomadexec/testdata/docker.nomad

21 lines
308 B
Plaintext
Raw Normal View History

2019-04-28 21:35:42 +00:00
job "nomadexec-docker" {
datacenters = ["dc1"]
group "group" {
task "task" {
driver = "docker"
config {
2019-10-11 12:00:05 +00:00
image = "busybox:1.29.2"
2019-04-28 21:35:42 +00:00
command = "/bin/sleep"
2019-10-11 12:00:05 +00:00
args = ["1000"]
2019-04-28 21:35:42 +00:00
}
resources {
cpu = 500
memory = 256
}
}
}
2019-10-11 12:00:05 +00:00
}