And here is some info on lxd status just in case I have failed to configure or start something correctly.
ubuntu@u20sv6:~/Downloads/orabuntu-lxc-master/orabuntu$ sudo snap info lxd
name: lxd
summary: System container manager and API
publisher: Canonical✓
store-url: https://snapcraft.io/lxd
contact: https://github.com/lxc/lxd/issues
license: unset
description: |
LXD is a system container manager
With LXD you can run hundreds of containers of a variety of Linux
distributions, apply resource limits, pass in directories, USB devices
or GPUs and setup any network and storage you want.
LXD containers are lightweight, secure by default and a great
alternative to running Linux virtual machines.
Run any Linux distribution you want
Pre-made images are available for Ubuntu, Alpine Linux, ArchLinux,
CentOS, Debian, Fedora, Gentoo, OpenSUSE and more.
A full list of available images can be found here: https://images.linuxcontainers.org
Can’t find the distribution you want? It’s easy to make your own images too, either using our
distrobuilder
tool or by assembling your own image tarball by hand.
Containers at scale
LXD is network aware and all interactions go through a simple REST API,
making it possible to remotely interact with containers on remote
systems, copying and moving them as you wish.
Want to go big? LXD also has built-in clustering support,
letting you turn dozens of servers into one big LXD server.
Configuration options
Supported options for the LXD snap (snap set lxd KEY=VALUE
):
- ceph.builtin: Use snap-specific ceph configuration [default=false]
- criu.enable: Enable experimental live-migration support [default=false]
- daemon.debug: Increases logging to debug level [default=false]
- daemon.group: Group of users that can interact with LXD [default=lxd]
- daemon.preseed: A YAML configuration to feed lxd init
on initial start
- lxcfs.pidfd: Start per-container process tracking [default=false]
- lxcfs.loadavg: Start tracking per-container load average [default=false]
- lxcfs.cfs: Consider CPU shares for CPU usage [default=false]
- openvswitch.builtin: Run a snap-specific OVS daemon [default=false]
- shiftfs.enable: Enable shiftfs support [default=auto]
Documentation: https://lxd.readthedocs.io
commands:
- lxd.benchmark
- lxd.buginfo
- lxd.check-kernel
- lxd.lxc
- lxd.lxc-to-lxd
- lxd
- lxd.migrate
services:
lxd.activate: oneshot, enabled, inactive
lxd.daemon: simple, enabled, active
snap-id: J60k4JY0HppjwOjW8dZdYc8obXKxujRu
tracking: latest/stable/ubuntu-20.04
refresh-date: today at 01:54 UTC
channels:
latest/stable: 4.8 2020-11-25 (18402) 73MB -
latest/candidate: 4.8 2020-11-24 (18402) 73MB -
latest/beta: ↑
latest/edge: git-03e7d2b 2020-11-26 (18429) 73MB -
4.8/stable: 4.8 2020-11-25 (18402) 73MB -
4.8/candidate: 4.8 2020-11-24 (18402) 73MB -
4.8/beta: ↑
4.8/edge: ↑
4.7/stable: 4.7 2020-11-12 (18251) 72MB -
4.7/candidate: 4.7 2020-11-12 (18251) 72MB -
4.7/beta: ↑
4.7/edge: ↑
4.0/stable: 4.0.4 2020-11-03 (18150) 71MB -
4.0/candidate: 4.0.4 2020-11-04 (18165) 71MB -
4.0/beta: ↑
4.0/edge: git-7493339 2020-11-25 (18423) 71MB -
3.0/stable: 3.0.4 2019-10-10 (11348) 55MB -
3.0/candidate: 3.0.4 2019-10-10 (11348) 55MB -
3.0/beta: ↑
3.0/edge: git-81b81b9 2019-10-10 (11362) 55MB -
2.0/stable: 2.0.12 2020-08-18 (16879) 38MB -
2.0/candidate: 2.0.12 2020-08-17 (16879) 38MB -
2.0/beta: ↑
2.0/edge: git-82c7d62 2020-08-17 (16867) 39MB -
installed: 4.8 (18402) 73MB -
ubuntu@u20sv6:~/Downloads/orabuntu-lxc-master/orabuntu$ ps -ef | grep lxd
root 82910 1 0 03:23 ? 00:00:00 /bin/sh /snap/lxd/18402/commands/daemon.start
root 83128 1 0 03:23 ? 00:00:00 lxcfs /var/snap/lxd/common/var/lib/lxcfs -p /var/snap/lxd/common/lxcfs.pid
root 83139 82910 0 03:23 ? 00:00:11 lxd --logfile /var/snap/lxd/common/lxd/logs/lxd.log --group lxd
ubuntu 872907 837663 0 15:39 pts/0 00:00:00 grep --color=auto lxd
ubuntu@u20sv6:~/Downloads/orabuntu-lxc-master/orabuntu$