job "redis" { datacenters = ["dc1"] group "redis-group" { task "redis-task" { driver = "containerd-driver" config { image = "redis:alpine" hostname = "foobar" seccomp = true cwd = "/home/redis" cpuset_cpus = "0-1" cpuset_mems = "0" } resources { cpu = 500 memory = 256 memory_max = 512 } } } }