[lxc-users] [LXD] how to set container description (in a script)?

Tomasz Chmielewski mangoo at wpkg.org
Tue Mar 12 11:34:02 UTC 2019


I would like to add some own "metadata" for a container.

I thought I'd use "description" for that, since it's present in "lxc 
config show <container>":

This however doesn't work:

$ lxc config show testcontainer | grep ^description
description: ""

$ lxc config set testcontainer description "some description"
Error: Invalid config: Unknown configuration key: description


What would be the best way to set the description for a container?


Tomasz Chmielewski
https://lxadm.com


More information about the lxc-users mailing list