Boot.autostart or not


Setting up a lxd around march this year, I just start the lxd containers, shut it down at night, boot it up in the morning, and never set autostart to anything, it just works, questions:

what is the difference between: a container with autostart null (started) and a container with autostart true?

lately some containers will remain stopped during booting up, why ? due to the upgrade of 3.18?


Normally boot.autostart behaves like:

  • Unset: last state
  • True: always start
  • False: never start

If some containers that were running prior to shutdown aren’t getting started back, lxd.log should contain an error.