<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Am 20.01.2011 16:29, schrieb Sergio Daniel Troiano:</tt>
<blockquote cite="mid:1295537378.2218.34.camel@linux-i1mn" type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="GENERATOR" content="GtkHTML/3.24.1.1">
<tt>Andre,<br>
<br>
I'm using Slackware and i've compiled lxc-7.2 because when i tried to
use lxc-7.3 i couldnt mount anything within the container.<br>
<br>
You have to create a root enviroment , i use /container, here are all
shared files and directories (/usr, /bin, /etc and so on)<br>
besides you must create no-shared directories (for example apache logs)
you'll mount them when you start the container.<br>
<br>
[...]<br>
<br>
## Apache logs, fcgid<br>
/home/skel.containers/web/usr/local/apache2/logs
/container/usr/local/apache2/logs bind defaults,bind 0 0<br>
## Apache conf<br>
/home/skel.containers/web/usr/local/apache2/conf
/container/usr/local/apache2/conf bind defaults,bind 0 0<br>
none /container/proc proc defaults 0 0<br>
none /container/dev/pts devpts newinstance 0 0<br>
<br>
</tt>
</blockquote>
<tt>Hi Sergio,<br>
<br>
<br>
there's one thing I didn't get: How do you share the /usr, /bin, /sbin,
... dirs?<br>
<br>
I'm playing around with a similar setup bind-mounting the corresponding
directories from the host into the containers. But I can't see such
mounts in your config.fstab. Now I'm wondering if there's an other/a
better way to do this.<br>
<br>
<br>
Best regards<br>
<br>
Patrick<br>
</tt>
</body>
</html>