The following list of quick notes about managing LXD is something that I've found a little bit hard to get my head around when moving from LXC to LXD. Documentation for some parts wasn't very obvious and this is just my notes to not forget this info.
Probably for majority of people this is now obvious, but I've just started moving LXC->LXD and scripts are broken for 3.0 version of configuration.
Use profiles & set shared setting there.
lxc profile edit default
lxc config set <container> boot.autostart <true|false>
lxc network attach lxdbr0 <container> eth0 eth0
lxc config device set <container> eth0 ipv4.address <static-ip>
lxc config edit <container>
>
...
devices:
eth0:
ipv4.address: <ip>
name: eth0
nictype: bridged
parent: lxdbr0
type: nic
...
lxc network set lxdbr0 ipv6.address none