[Lxc-users] Container size minialisation

István Király - LaKing d250 at yahoo.com
Mon Dec 12 17:47:05 UTC 2011


Hi folks.

I'm trying to compose a system, where lxc containers behave like virtual hosts for a web server.

As next step I would like to minimize container size. My question is, what the best, most elegant and fail proof  technique for that?

At this moment I'm thinking of a "master container" and "slave containers" where the /usr folder for example in the slave containers is a mount from the master container. That gives a significant size drop already, from 400 to 40 megabytes.

I would like to keep the containers really minimal. 4 megabyte should be small enough. 

Lets say only some important files in /etc ....

Has anyone any experience with this technique?
 
Thank you for sharing.

greetings,
István Király


LaKing at D250.hu

D250 Laboratories
www.D250.hu




More information about the lxc-users mailing list