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

Jäkel, Guido G.Jaekel at dnb.de
Thu Aug 14 12:54:58 UTC 2014


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


More information about the lxc-users mailing list