[lxc-devel] [linuxcontainers.org/master] Updated the readme file

Kentoseth on Github lxc-bot at linuxcontainers.org
Fri Jun 3 02:12:40 UTC 2016


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 486 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20160603/2d285a9b/attachment.bin>
-------------- next part --------------
From c93917d8fa7c1c7be085e4eb44d664be7fbd9fa1 Mon Sep 17 00:00:00 2001
From: client <Kentoseth at users.noreply.github.com>
Date: Fri, 3 Jun 2016 04:08:30 +0200
Subject: [PATCH] Updated the readme file

I added specific instructions for launching a working/rendering version of the website using the Python3 HTTP server

Signed-off by: Mohamed Qas <kentoseth at devcroo.com>
---
 README.md | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/README.md b/README.md
index daaa50d..b4210d4 100644
--- a/README.md
+++ b/README.md
@@ -15,6 +15,21 @@ linuxcontainers.org website.
 ## Generating the website
 
     ./generate
+    
+## Launching website within container
+
+Make sure that the container has access to the  website folder that you just cloned.
+
+You can use a bind-mount for the folder if necessary (host => container OR container => host)
+
+After generating the website(above), run these commands(Ubuntu-specific) within the container:
+
+    cd output
+    python3 -m http.server 8777
+    
+You now need to obtain the IP address for the specific container. You can now navigate to the site (from the host) with the following example IP address:
+
+> 185.5.3.12:8777
 
 ## Bug reports
 


More information about the lxc-devel mailing list