Quoting J Bc ([email protected]): > Hello, excuse me for the question. > Which do you think that is the best way to create a container > 'template' with a service, for example, asterisk+mariadb+some files, > preconfigured? > > 1. template and script post-install? > 2. create container, cooking, and you have a container for to move?
Depends on how you intend to use and deploy it. In the current cloud scene the cool kids would write a setup script. Create a generic container (say ubuntu-cloud) and use cloud-init to have the container on first boot run the setup script. The docker folks would do your option (2), and that allows you to publish the final container. (Sorry, no definitive answer from me) -serge _______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
