meta-virtualization/recipes-containers/lxc/README
Bruce Ashfield 05f316f70a lxc: update to 5.x and meson
This is a significant update to lxc as autotools has been replaced
with meson.

Not all existing autotools options have meson equivalents, so there
may be differences in functionallity.

As part of this update, and unused features have been dropped, mainly
when the meson equivalent was not available.

Basic / core functionality has been tested with systemd, sysvinit
requires more work, and patches will be accepted to restore that
capability.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-08-25 22:55:48 -04:00

592 B

install:

Install the following packages to your image:

IMAGE_INSTALL:append = "lxc lxc-networking kernel-modules"

These will put the core lxc application and networking onto your image. No other configuration is required for a basic system.

Note: has only been tested with systemd, sysvinit patches are welcome

Note: Partially conflicts with packages such as k3s, networking will fail to start.

sample test:

% lxc-create -n test -t download -- --server us.lxd.images.canonical.com -d alpine -r 3.16 -a amd64 % lxc-start test % lxc-console test