Configuring the LXD daemon
The LXD daemon works as an image server. In order to use it, we have to make LXD listen to the network and tag our image as public:
lxc config set core.https_address "[::]:8443"
Now, other users can add our server as a public image server using:
lxc remote add [name] [IP] --public
They can use following command to create containers from our image:
lxc launch [name]:[image-name]
Making LXD images public
To make our LXD image available for our server users, we have to modify the
public parameter, it’s
false by default:
lxc image edit sid-nodejs
It will open image properties in system default text editor. Replace
false in the last line with
true and save the file. You have just shared your LXD image!