Default.conf file is not present in the /etc/lxc/

Hi, I have installed the lxd on my machine running ubuntu OS.
The default.conf file is not present in the directory /etc/lxc/
Let me know how to get this file in this directory

1 Like

You’ve installed LXD, so it’s normal that you wouldn’t have a LXC config file :slight_smile:

When you install LXD, you need to run the following in order to configure LXD.

sudo lxd init

You will be asked some important questions about where to store the containers.
The configuration is stored in a database file, but you can see it any time when you run

lxd init --dump
1 Like

You can follow the Getting Started Guide.