[
  {
    "name": "consul",
    "image": "consul",
    "essential": true,
    "memory": 500,
    "environment" : [
        { "name" : "CONSUL_ALLOW_PRIVILEGED_PORTS", "value" : "" }
    ],
    "command" : [ 
        "consul",
        "agent",
        "-dns-port=53",
        "-recursor=${TF_DNS_SERVER}",
        "-bind=${TF_BRIDGE_IP}",
        "-client=${TF_BRIDGE_IP}",
        "-data-dir=/consul/data",
        "-retry-join=${TF_CONSUL_JOIN}"
    ]
  }
]

[
  {
    "name": "consul",
    "image": "consul",
    "essential": true,
    "memory": 500,
    "environment" : [
        { "name" : "CONSUL_ALLOW_PRIVILEGED_PORTS", "value" : "" },
        { "name" : "CONSUL_BIND_INTERFACE", "value" : "eth0" },
        { "name" : "CONSUL_CLIENT_INTERFACE", "value" : "docker0" }
    ],
    "command" : [ 
        "agent",
        "-dns-port=53",
        "-recursor=${TF_DNS_SERVER}",
        "-data-dir=/consul/data",
        "-retry-join=${TF_CONSUL_JOIN}"
    ]
  }
]

Use env variable to use appropriate interfaces
Use env variable to use appropriate interfaces
