IPv6 address advertised by Docker is not a part of Nomad allocation info

I am using the Docker driver and the task config looks something like this:

task "task" {
      driver = "docker"

      service {
        name         = "http-server"
        address_mode = "driver"
        port         = "http"
        provider = "consul"

        check {
          name     = "health-check"
          type     = "tcp"
          interval = "10s"
          timeout  = "2s"
          address_mode = "driver"
        }
      }

      config {
        advertise_ipv6_address = true
        image                  = "myimage"
        network_mode           = "custom"
        auth_soft_fail = true
        ports          = ["http"]
      }
    }

It works perfectly with Consul and I can get the IPv6 address from Consul but I cannot get the IPv6 address from Nomad itself. I think this might be a feature, but want to confirm because I’m confused about how much Nomad knows about allocations. E.g. it knows the port that the Docker driver assigns to IPv4 containers, but it doesn’t know the IPv6 address.