5 ms·
Is it weird that I've basically replaced Puppet/Chef/Ansible with Dockerfiles and Docker Compose?
by girvo 12y ago
Is it weird that I've basically replaced Puppet/Chef/Ansible with Dockerfiles and Docker Compose?
- Nux 12y agoNot necessarily weird, but docker will not give you the same coverage and capabilities, we could invoke the "apples and oranges" comparison here.
- Gigablah 12y agoI'm wondering about a possible execution mode for Ansible where instead of connecting via SSH and uploading/running each task, you dump each task in a shared volume and run them in a container with docker exec. Then you can commit the final result to an image.
- Terretta 12y agoLike Packer? https://www.packer.io/intro/getting-started/provision.html https://www.packer.io/intro/getting-started/provision.html
- Gigablah 12y agoI was under the impression that Packer was used to create machine images for EC2 and DigitalOcean, but apparently it supports building Docker images now. That's perfect! I'll have to make some changes to my pipeline :)
- sbt 12y agoI have too. After I moved to containers, the hosts themselves are so simple now. In fact, I just have a VM image I use for hosts, and then the devs make the container images running on them.
- hackerboos 12y agoStill need to provision your host.
- mateuszf 12y agoImmutable infrastructure can be implemented using sole Dockerfile and Docker Compose. And Docker Machine can create/manage whole environments on various types of cloud providers.
- borplk 12y agoThey are not solving the same problem at all. You'd still need something to bring your docker up to the desired state, unless you want to do it with bash commands line by line.