apache marathon:我的码头图像一直失败

时间:2016-08-24 07:11:23

标签: docker mesos mesosphere marathon dockerhub

我正在执行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镜像的正确方法吗?

0 个答案:

没有答案