{
  "id": "weave-scope",
  "cpus": 1,
  "mem": 128,
  "instances": 1,
  "container": {
    "type": "DOCKER",
    "docker": {
      "image": "weaveworks/scope:0.13.1",
      "network": "HOST",
      "privileged": true,
      "parameters": [
        { "key": "pid", "value": "host" },
        { "key": "name", "value": "weavescope" }
      ]
    },
    "volumes": [
      {
        "containerPath": "/var/run/docker.sock",
        "hostPath": "/var/run/docker.sock",
        "mode": "RW"
      }
    ]
  },
  "args": ["--probe.docker", "true"],
  "env": {
    "CHECKPOINT_DISABLE": ""
  },
  "portDefinitions": [
    { "port": 4040, "protocol": "tcp", "name": "http" }
  ]
}

{
  "id": "weave-scope",
  "cpus": 1,
  "mem": 128,
  "instances": 1,
  "constraints": [
    [
      "hostname",
      "UNIQUE"
    ]
  ],
  "container": {
    "type": "DOCKER",
    "docker": {
      "image": "weaveworks/scope:0.13.1",
      "network": "HOST",
      "privileged": true,
      "parameters": [
        { "key": "pid", "value": "host" },
        { "key": "name", "value": "weavescope" }
      ]
    },
    "volumes": [
      {
        "containerPath": "/var/run/docker.sock",
        "hostPath": "/var/run/docker.sock",
        "mode": "RW"
      }
    ]
  },
  "args": ["--probe.docker", "true"],
  "env": {
    "CHECKPOINT_DISABLE": ""
  },
  "portDefinitions": [
    { "port": 4040, "protocol": "tcp", "name": "http" }
  ]
}

Set unique hostname constraints for Weave Scope
Set unique hostname constraints for Weave Scope