All source files have SPDX headers that declare what license applies. The applicable licenses are included in the code repository. For other files such as examples, config files, ... they can be assumed to be licensed the same way that the LXC library is, so under LGPLv2.1+.