How do I use LXC container comments - or Adding a couple USER Defined fields to LXC List

Hi!

You may consider using a different lxc list output (than table), such as yaml or json.
With yaml, you can get the full list of information available from the container.

lxc list --format yaml

Alternatively, you can install jq, with either one of the two,

sudo apt get install jq

or

sudo snap install jq

and then run

lxc list --format=json | jq .

This jq . will pretty-print, with colors and all, the output. You can then process the JSON data with jq, per Redirecting to jqlang.github.io.