The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/distrobuilder/pull/242
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === This resolves #84 Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
From 45bc2700b431099b55e158d96e7f3a940eb9dd48 Mon Sep 17 00:00:00 2001 From: Thomas Hipp <thomas.h...@canonical.com> Date: Fri, 11 Oct 2019 12:12:17 +0200 Subject: [PATCH] doc: Mention creating a container with LXC Signed-off-by: Thomas Hipp <thomas.h...@canonical.com> --- doc/index.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/index.md b/doc/index.md index 383379e..0eb1577 100644 --- a/doc/index.md +++ b/doc/index.md @@ -96,6 +96,14 @@ total 121032 multipass@dazzling-termite:~/ContainerImages/ubuntu$ ``` +### Adding the container image to LXC + +To add the container image to a LXC installation, use the `lxc-create` command as follows. + +```bash +$ lxc-create -n myContainerImage -t local -- --metadata meta.tar.xz --fstree rootfs.tar.xz +``` + ### Adding the container image to LXD To add the container image to a LXD installation, use the `lxc image import` command as follows.
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel