[lxc-users] How to bring up a container from rootfs tarball

Nobin Mathew nobin.mathew at ericsson.com
Mon Aug 18 10:42:57 UTC 2014


Then I am asking a simpler question. How to say a mount as root 
filesystem, using lxc tools.

-Thanks
Nobin

On 08/14/2014 06:24 PM, Jäkel, Guido wrote:
> Dear Nobin,
>
> I found that you may "loop mount" a tarball by using fuse and the libarchive subsystem (http://serverfault.com/questions/138403/mount-a-tar-file-not-possible). Then, you may use this mount as a container root.
>
> I found that this even seems to be possible in r/w-mode because (http://archive09.linux.com/feature/132196) [" archivemount delays all write operations until the archive is unmounted."].
>
>
> Greetings
>
> Guido
>
>
>> -----Original Message-----
>> From: lxc-users [mailto:lxc-users-bounces at lists.linuxcontainers.org] On Behalf Of Nobin Mathew
>> Sent: Thursday, August 14, 2014 7:13 AM
>> To: lxc-users at lists.linuxcontainers.org
>> Subject: [lxc-users] How to bring up a container from rootfs tarball
>>
>> Hi All,
>>
>> Can you shed some info(or links) on bringing up a container, where I
>> want to use some root filesystem,(which is basically tarball i.e. tar.gz).
>>
>> I don't want to use the apt/rpms.
>>
>> --
>> -Thanks
>> Nobin
>>
>> _______________________________________________
>> lxc-users mailing list
>> lxc-users at lists.linuxcontainers.org
>> http://lists.linuxcontainers.org/listinfo/lxc-users
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users



More information about the lxc-users mailing list