Hi all,
Just trying to run the small job below fails with the following message:
019-10-21T23:05:18.783+0200 [ERROR] client.driver_mgr.docker:
failed to create container:
driver=docker
error=“API error (500): invalid volume
specification: ‘C:\IT-Deploy\HashiCorp\slask\9f1e18c8-3540-fc98-00d1-6ac348780af8\alloc:c:\alloc’”
019-10-21T23:05:18.801+0200 [ERROR] client.alloc_runner.task_runner: running driver failed:
alloc_id=9f1e18c8-3540-fc98-00d1-6ac348780af8
task=frontend
error=“failed to create container: API error (500): invalid volume specification: ‘C:\IT-Deploy\HashiCorp\slask\9f8-3540-fc98-00d1-6ac348780af8\alloc:c:\alloc’”
I couldnt find a clear answer elsewhere.
Anyone know what this means?
(All this is very new to me )
Thanks for any help,
Regards, Bård Tørustad
[2019-10-21 23:11:53]baat@W540-001:C:\IT-Deploy\HashiCorp\NOMAD PS>nomad -version
Nomad v0.9.6 (1f8eddf2211d064b150f141c86e30d9fceabec89)
[2019-10-21 23:39:44]baat@W540-001:C:\IT-Deploy\HashiCorp\NOMAD PS>docker version
Client: Docker Engine - Community
Version: 19.03.4
API version: 1.40
Go version: go1.12.10
Git commit: 9013bf5
Built: Thu Oct 17 23:44:48 2019
OS/Arch: windows/amd64
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 19.03.4
API version: 1.40 (minimum version 1.24)
Go version: go1.12.10
Git commit: 9013bf5
Built: Thu Oct 17 23:55:51 2019
OS/Arch: windows/amd64
Experimental: true
Windows Version 1903 (OS-build 8362.418)
The Job:
job “docs” {
datacenters = [“dc1”]
group “webx” {
count = 1
task "frontend" {
driver = "docker"
config {
image = "hashicorp/http-echo"
}
service {
port = "http"
check {
type = "http"
path = "/health"
interval = "10s"
timeout = "2s"
}
}
env {
}
resources {
cpu = 500 # MHz
memory = 128 # MB
network {
mbits = 100
port "http" {
static = 5678
}
}
}
}
}
}