News for hackers. Stuff that matters.
Re:Ask HN: Why use Ansible/Puppet/Chef/Salt to build Docker ... by dozzie on Wednesday December 07, 2016 @01:52PM (#13125083)
Ansible and Salt don't seem to fit the use case of configuring something that is effectively a chroot, and I don't know if Chef can be used with chroot-like installations, but you must have used Puppet in a wrong way if it caused you trouble (my guess is that you used Puppet with master, not a CFEngine-like masterless mode).
Re:Ask HN: Why use Ansible/Puppet/Chef/Salt to build Docker ... by iamskeptic on Wednesday December 07, 2016 @01:58PM (#13125140)
Actually I translated all the configuration that would be done through RUN commands in a Dockerfile, into Ansible roles and playbooks that are applied at build time.
Re:Ask HN: Why use Ansible/Puppet/Chef/Salt to build Docker ... by miiiiiike on Wednesday December 07, 2016 @01:54PM (#13125097)
I use make to build my docker images. It works really well.

`make update`: fetches the latest version of the code.

`make build`: builds the images.

`make push`: pushes them to the registry.

Salt's great tho, I use it to manage my Docker environment files and keep other systems up to date.

Re:Ask HN: Why use Ansible/Puppet/Chef/Salt to build Docker ... by iamskeptic on Wednesday December 07, 2016 @01:59PM (#13125145)
Do you use Salt from within a Dockerfile to make the changes inside the container?
Re:Ask HN: Why use Ansible/Puppet/Chef/Salt to build Docker ... by smt88 on Wednesday December 07, 2016 @01:50PM (#13125065)