def METHOD_NAME(self, port, **kwargs):
    host, port = self.podman(
        'container', 'port', self.container_id, str(port),
        **kwargs, stdout=subprocess.PIPE, text=True
    ).stdout.strip().split(':', 1)
    return host, int(port)