[lxc-devel] [lxd/master] Update README.md

lastranikos on Github lxc-bot at linuxcontainers.org
Wed Jun 15 16:25:31 UTC 2016


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 375 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160615/90d78cb6/attachment.bin>
-------------- next part --------------
From 376a17fc6cb0d58ff4a635933883de4aeee3b717 Mon Sep 17 00:00:00 2001
From: Nicolas Lastra <nicolas.san at gmail.com>
Date: Wed, 15 Jun 2016 13:24:05 -0300
Subject: [PATCH] Update README.md

the example was improved to mount shared folder inside container from host
---
 README.md | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index e8d3d68..ad275e0 100644
--- a/README.md
+++ b/README.md
@@ -311,8 +311,10 @@ lxc-devel, and we can escalate to CRIU lists as necessary.
 
 Yes. The easiest way to do that is using a privileged container:
 
-    lxc launch ubuntu priv -c security.privileged=true
-    lxc config device add priv homedir disk source=/home/$USER path=/home/ubuntu
+    lxc launch ubuntu privilegedContainerName -c security.privileged=true
+    or
+        lxc config set privilegedContainerName security.privileged true
+    lxc config device add privilegedContainerName homedir disk source=/home/$USER path=/home/ubuntu
 
 #### How can I run docker inside a LXD container?
 


More information about the lxc-devel mailing list