我正在执行here
上的步骤我已经创建了一个json文件:
{
"id": "/myjavabuild-2",
"cmd": null,
"cpus": 1,
"mem": 1024,
"disk": 0,
"instances": 1,
"container": {
"type": "DOCKER",
"volumes": [],
"docker": {
"image": "hub.docker.com/eugenepark3/myjavabuild",
"network": "HOST",
"privileged": false,
"parameters": [],
"forcePullImage": false
}
},
"portDefinitions": [
{
"port": 10001,
"protocol": "tcp",
"labels": {}
}
],
"uris": [
"file:///etc/docker.tar.gz"
],
"fetch": [
{
"uri": "file:///etc/docker.tar.gz",
"extract": true,
"executable": false,
"cache": false
}
]
}
它一直在马拉松上出错。
这是从hub.docker.com提取docker镜像的正确方法吗?