OnWorks Linux and Windows Online WorkStations

Logo

Free Hosting Online for WorkStations

< Previous | Contents | Next >

5.4. Configuration


By default, LXD is installed listening on a local UNIX socket, which members of group LXD can talk to. It has no trust password setup. And it uses the filesystem at /var/lib/lxd to store containers. To configure LXD with different settings, use lxd init. This will allow you to choose:

• Directory or ZFS39 container backend. If you choose ZFS, you can choose which block devices to use, or the size of a file to use as backing store.

• Availability over the network

• A 'trust password' used by remote clients to vouch for their client certificate


You must run 'lxd init' as root. 'lxc' commands can be run as any user who is member of group lxd. If user joe is not a member of group 'lxd', you may run:


adduser joe lxd


as root to change it. The new membership will take effect on the next login, or after running 'newgrp lxd' from an existing login.


For more information on server, container, profile, and device configuration, please refer to the definitive configuration provided with the source code, which can be found online40


Top OS Cloud Computing at OnWorks: