void-packages/srcpkgs/lxd/INSTALL.msg
iaroki 70a9bc24e5 New package: lxd-2.20
Closes: #9915 [via git-merge-pr]
2017-12-26 09:38:58 +01:00

15 lines
330 B
Text

Add sub{u,g}ids for root to create unprivileged containers:
$ echo "root:1000000:65536" | sudo tee -a /etc/subuid /etc/subgid
Start lxd service:
$ sudo ln -s /etc/sv/lxd /var/service
Run LXD initialization:
$ sudo lxd init
To use lxd client your user must be added to the 'lxd' group:
$ sudo usermod -aG lxd <username>