This plugin provides completion for lxd, as well as aliases for frequent lxc commands.
To use it add lxd to the plugins array in your zshrc file.
lxd
plugins=(... lxd)