{
    "id": "{{etcd.framework-name}}",
    "container": {
        "docker": {
            "image": "{{resource.assets.container.docker.etcd-docker}}",
            "forcePullImage": true
        },
        "type": "DOCKER",
        "volumes": []
    },
    "args": [],
    "cpus": {{etcd.cpus}},
    "mem": {{etcd.mem}},
    "instances": 1,
    "ports": [0, 0, 0],
    "env": {
      "FRAMEWORK_NAME":"{{etcd.framework-name}}",
      "CLUSTER_SIZE":"{{etcd.cluster-size}}",
      "MESOS_MASTER":"{{mesos.master}}",
      "ZK_PERSIST":"{{etcd.zk}}",
      "VERBOSITY":"{{etcd.logging-verbosity}}",
      "AUTO_RESEED":"{{etcd.auto-reseed}}",
      "RESEED_TIMEOUT":"{{etcd.reseed-timeout}}",
      "DISK_LIMIT":"{{etcd.disk-limit}}",
      "CPU_LIMIT":"{{etcd.cpu-limit}}",
      "MEM_LIMIT":"{{etcd.mem-limit}}",
      "WEBURI": "http://{{etcd.framework-name}}{{etcd.dns-suffix}}:{{etcd.admin-port}}/stats"
    },
    "healthChecks": [{
      "protocol": "HTTP",
      "path": "/healthz",
      "portIndex": 0,
      "gracePeriodSeconds": 60,
      "intervalSeconds": 30,
      "maxConsecutiveFailures": 0
    }]
}

{
    "id": "{{etcd.framework-name}}",
    "container": {
        "docker": {
            "image": "{{resource.assets.container.docker.etcd-docker}}",
            "network": "HOST",
            "forcePullImage": true
        },
        "type": "DOCKER",
        "volumes": []
    },
    "args": [],
    "cpus": {{etcd.cpus}},
    "mem": {{etcd.mem}},
    "instances": 1,
    "ports": [0, 0, 0],
    "env": {
      "FRAMEWORK_NAME":"{{etcd.framework-name}}",
      "CLUSTER_SIZE":"{{etcd.cluster-size}}",
      "MESOS_MASTER":"{{mesos.master}}",
      "ZK_PERSIST":"{{etcd.zk}}",
      "VERBOSITY":"{{etcd.logging-verbosity}}",
      "AUTO_RESEED":"{{etcd.auto-reseed}}",
      "RESEED_TIMEOUT":"{{etcd.reseed-timeout}}",
      "DISK_LIMIT":"{{etcd.disk-limit}}",
      "CPU_LIMIT":"{{etcd.cpu-limit}}",
      "MEM_LIMIT":"{{etcd.mem-limit}}",
      "WEBURI": "http://{{etcd.framework-name}}{{etcd.dns-suffix}}:{{etcd.admin-port}}/stats"
    },
    "healthChecks": [{
      "protocol": "HTTP",
      "path": "/healthz",
      "portIndex": 0,
      "gracePeriodSeconds": 60,
      "intervalSeconds": 30,
      "maxConsecutiveFailures": 0
    }]
}

Set etcd network explicitly to HOST
Set etcd network explicitly to HOST