This Haskell package can read the configuration file of the standard LXD client. It can thus for example extract information about the configured LXD remotes.
LXD is a container manager offering users a similar experience to virtual machines, but using Linux containers. See https://github.com/lxc/lxd for more information.