[lxc-devel] [distrobuilder/master] doc: Mention creating a container with LXC

monstermunchkin on Github lxc-bot at linuxcontainers.org
Fri Oct 11 10:14:09 UTC 2019


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 386 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20191011/e91b5740/attachment.bin>
-------------- next part --------------
From 45bc2700b431099b55e158d96e7f3a940eb9dd48 Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.hipp at 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.hipp at 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 at 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.


More information about the lxc-devel mailing list