Unable to pull latest ArangoDB docker image using Mesos/Marathon

15 views
Skip to first unread message

Yang Li

unread,
May 2, 2017, 2:50:46 PM5/2/17
to ArangoDB, m...@tripadvisor.com
Hi,

I'm using Mesos/Marathon to manage a two-server cluster, and attempted to set up latest ArangoDB. Although I was able to bootstrap the cluster with the "arangodb/example-guesser-db" image, it always failed when I switch to use "arangodb/arangodb" image, with below error:
State: TASK_FAILED
Message: Failed to launch container: Failed to run 'docker -H unix:///var/run/docker.sock pull arangodb/arangodb:latest': exited with status 1; stderr='Get https://index.docker.io/v1/repositories/arangodb/arangodb/images: dial tcp: lookup index.docker.io: Temporary failure in name resolution '

Below is the application config json I used to bootstrap the container, could you please let me know if I missed any settings there? Thanks for the help in advance!
{
  "id": "/arangodb3",
  "cmd": null,
  "cpus": 1,
  "mem": 128,
  "disk": 0,
  "instances": 1,
  "acceptedResourceRoles": [
    "*"
  ],
  "container": {
    "type": "DOCKER",
    "volumes": [],
    "docker": {
      "image": "arangodb/arangodb",
      "network": "HOST",
      "privileged": false,
      "parameters": [],
      "forcePullImage": false
    }
  },
  "portDefinitions": [
    {
      "port": 10000,
      "protocol": "tcp",
      "labels": {}
    }
  ]
}


Reply all
Reply to author
Forward
0 new messages