[lxc-users] /etc/lxc/lxc-usernet no such file

Serge E. Hallyn serge at hallyn.com
Sat Apr 20 13:50:37 UTC 2019


On Sat, Apr 20, 2019 at 12:52:47PM +0000, wisdomlight at protonmail.com wrote:
> Hi
> On Lxc website the discussion of unprivileged container requires /etc/lxc/lxc-usernet to have your-user-name veth lxcbr0 10
> 
> But I have no such file.
> Does it mean I should create it and simply append to it
> 
> username veth lxcbr0 10
> 
> ???

Yup.

Although if you don't have that file, you may also be missing
other pieces.  The package which installed lxc-user-nic should
have created /etc/lxc/lxc-usernet as a file containing:

# USERNAME TYPE BRIDGE COUNT

-serge


More information about the lxc-users mailing list