2

I am working with LXC containers and I am attempting to setup a network configuration but I cannot locate the configuration file. Every piece of documentation or answered question has been for older outdated versions of LXC.

Much of the documentation I found refers to a folder in /var/lib/lxc, but that folder does not exist. Documentation also refers to commands such as "lxc-create" which also do not exist.

I am using LXD to manage my containers instead of libvirt, if that makes a difference.

2

I guess you are talking about the 'old' LXC containers. In case you are running Ubuntu 16.04 or Ubuntu 16.10, everything is located in the /var/lib/lxd folder, also the commands changed.

To get a list of the available commands, execute lxc help --all and for deeper information lxc manpage. Here you can find additional useful information about the "newer" LXD system containers in Ubuntu :

Linux Containers - LXD
LXD doc / configuration
The LXD 2.0 Story series

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.