How to import zpool from img file?

I have a file “/var/snap/lxd/common/lxd/disks/cobalxdimport.img”

When I run the command “zpool import -d /var/snap/lxd/common/lxd/disk” the result is “no pools available to import”

When I run the command “zpool import /var/snap/lxd/common/lxd/disks” the result is “cannot import ‘/var/snap/lxd/common/lxd/disks’: no such pool available”

When I run the command “zpool import /var/snap/lxd/common/lxd/disks/cobalxdimport.img” the result is “cannot import ‘/var/snap/lxd/common/lxd/disks/cobalxdimport.img’: no such pool available”

When I run the command “zpool import -d /var/snap/lxd/common/lxd/disks/cobalxdimport.img” the result is “cannot open ‘/var/snap/lxd/common/lxd/disks/cobalxdimport.img’: Not a directory”

What do I have to do?

zpool import -d /var/snap/lxd/common/lxd/disks cobalxdimport assuming the zpool is named cobalxdimport would be the correct syntax.

If this doesn’t work, chances are the zpool file is corrupted and ZFS is unable to recognize it.