Quoting Niklas Fuchs (nkfu...@yahoo.de):
> This sound really great. I was wondering if anyone uses user namespaces
> and shared rootfs?
> I got the roblem the skeleton of the ro-root on the host has uid 0 for
> the root files, but the guest maps them to nobody, so i cant use shared
> rootfs and use
This sound really great. I was wondering if anyone uses user namespaces
and shared rootfs?
I got the roblem the skeleton of the ro-root on the host has uid 0 for
the root files, but the guest maps them to nobody, so i cant use shared
rootfs and user namespaces together. I cant think of a better sol
We have a particular use case, but we are achieving this using CernVM-FS
(http://cernvm.cern.ch/portal/filesystem) to supply read-only root filesystems
to many machines (with local caching), and then aufs or overlayfs (depending on
the kernel version) to provide write support as others have sugg
On 07/08/2013 11:22:55 PM, Ajith Adapa wrote:
> Hi,
>
> I would like it know is it possible to create a single rootfs (might
> be in
> read-only mode) and share it among multiple containers ?
>
> Currently for every container we create its own unique rootfs.
>
> What would be the best place to
Yes, it's possible. We do it. I can't share the code, but I can describe it.
We create a master container using standard lxc-create script with our own
template and config file. The template is based on the ubuntu template. The
master container is never started. All subsequent containers sh
Yes, this is possible.
There are multiple approaches, for example:
1. Creating a snapshot (or outright copy) of a filesystem, then
disposing of it when done.
(1a) Manually creating a full copy
(1b) Using a blockstore-provided snapshot facility such as LVM2
2. Using a snapshot-capable filesys
> I would like it know is it possible to create a single rootfs (might
> be in read-only mode) and share it among multiple containers ?
At Dotcloud.com they use one basic OS rootfs. For each container they
mount this OS rootfs read-only and use a union file-system (AUFS) to add
a writable layer.