我正在建立一个码头化的Mesos + Marathon集群。 我让Mesos与奴隶一起工作正常,但是在尝试通过发送到Marathon的JSON推送mesos-dns应用程序时,我一直收到错误。 我发送:
{
"container": {
"docker": {
"image": "192.168.0.38:5000/mesos-dns:generic",
"privileged": true,
"forcePullImage": true,
"network": "BRIDGE"
}
},
"id": "testdns2",
"env": {
"MASTERS": "192.168.0.38:5050",
"RESOLVERS": "192.168.0.38",
"ZOOKEEPER_MESOS": "zk://192.168.0.38:2181/mesos"
}
}
马拉松,正确创建一个应用程序,然后我在Mesos奴隶上得到以下错误:
I1204 23:35:59.347939 14308 exec.cpp:134] Version: 0.25.0
I1204 23:35:59.350044 14313 exec.cpp:208] Executor registered on slave b9cef37c-d444-40c9-967b-01b9b3e98abf-S1
WARNING: Your kernel does not support swap limit capabilities, memory limited without swap.
ERROR: 2015/12/04 22:35:59 config.go:118: json: cannot unmarshal string into Go value of type []string
Docker版本1.8.3,mesos 0.25,marathon 0.9
知道json哪里有问题?