我在这里遵循步骤
我创建了一个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图像的正确方法吗?
暂无答案!
目前还没有任何答案,快来回答吧!