[lxc-devel] Valid Container Names/Identifiers

Till Walter eeg5auquaephoo5j at gmail.com
Tue Dec 16 09:36:13 UTC 2014


Dear LXC Developers,

the manual page of lxc-create states that "The container identifier
format is an alphanumeric string". Yet besides [A-Za-z0-9] other
characters like underscore are also fine.
I had a brief look at the source but did not find any check, e.g.,
using a regex. Is there any check at all? What are valid container
identifiers/names?
I am asking because I am using the official python bindings to write a
little utility and want to avoid container naming problems that may
arise.

Best regards,

BB


More information about the lxc-devel mailing list