Each container will probably be running a single application or a few services. the dependencies to run said application need to be installed and configured. this is the part I'd like to provision via ansible. I am leaning towards a templatized dockerfile (not ansible, but still close). I didn't know about lxc_containers - i will check those out as well. although I believe what I'd like to do with containers is within docker's ability.
On Monday, January 23, 2017 at 2:19:04 AM UTC-8, Johannes Kastl wrote: > > On 23.01.17 02:24 Sonny Heer wrote: > > Thanks for that info. I do see what you mean. I'd like to reuse > > existing ansible roles if possible. Assuming I'm only doing basic > > things like setting up a yum repo and installing packages on groups > > of nodes. Here is the lifecycle of what I'm thinking: > > You are describing system containers, while docker does represent > application containers. Docker containers only contain the one > application that you want them to run. System containers are full > systems running with init and sshd and whatnot. > > You might want to checkout lxc and the lxc_container module of ansible... > > Johannes > > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/8d18afac-98c2-4b74-9660-310ad255fe4a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.