code: def net(self):
          
          try:
              return NetData(self.inspect(cached=True).response)
          except docker.errors.NotFound:
              raise NotAvailableAnymore()
docs: get ACTIVE port mappings of a container
  
          :return: dict:
          {
              "host_port": "container_port"
          }