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:[email protected]] On Behalf >Of Nobin Mathew >Sent: Thursday, August 14, 2014 7:13 AM >To: [email protected] >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 >[email protected] >http://lists.linuxcontainers.org/listinfo/lxc-users _______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
