Installing LXD on Ubuntu 18.04 (The Right Way)
-
Ubuntu 18.04 comes with LXD installed as a DEB package, however the recommended way to install it is via snap.
Note: If you do a netboot installation LXD is not installed
On a fresh installation without LXD configured:
sudo apt remove --purge lxd lxd-client liblxc1 lxcfs
Then install LXD via snap
sudo snap install lxd
On a existing system with LXD configured/containers running:
install LXD via snap
sudo snap install lxd
Then migrate to the snap install of LXD
sudo lxd.migrate
-
Any source to backup installing lxd via snap?
What do you have against installing it via apt?
-
@black3dynamite said in Installing LXD on Ubuntu 18.04 (The Right Way):
Any source to backup installing lxd via snap?
-
@black3dynamite said in Installing LXD on Ubuntu 18.04 (The Right Way):
What do you have against installing it via apt?
Nothing.
-
@aaronstuder said in Installing LXD on Ubuntu 18.04 (The Right Way):
@black3dynamite said in Installing LXD on Ubuntu 18.04 (The Right Way):
Any source to backup installing lxd via snap?
Oh, so LXD from now on will only be available using snap.
Have you tried installing LXD on Fedora using Snap?
-
@black3dynamite said in Installing LXD on Ubuntu 18.04 (The Right Way):
Have you tried install LXD on Fedora using Snap?
Yup. Works Great!
-
@aaronstuder said in Installing LXD on Ubuntu 18.04 (The Right Way):
@black3dynamite said in Installing LXD on Ubuntu 18.04 (The Right Way):
Have you tried install LXD on Fedora using Snap?
Yup. Works Great!
With SELinux enabled too?
-
@black3dynamite said in Installing LXD on Ubuntu 18.04 (The Right Way):
@aaronstuder said in Installing LXD on Ubuntu 18.04 (The Right Way):
@black3dynamite said in Installing LXD on Ubuntu 18.04 (The Right Way):
Any source to backup installing lxd via snap?
Oh, so LXD from now on will only be available using snap.
Have you tried installing LXD on Fedora using Snap?
That's how we use it on Fedora.
-
@black3dynamite said in Installing LXD on Ubuntu 18.04 (The Right Way):
With SELinux enabled too?
I was only testing, and I don't really remember.
I prefer LXD on Ubuntu since they are both canonical.
-
Just tested again with a F28 minimal netinstall.
Sadly, it doesn't seem to be working.
Getting an error starting services.