4 ms·
It sounds like you need something else to help you build the dockerfiles then i.e. I need a dockerfile with nginx, postgres and memcached so I use something lik
by ollysb 12y ago
It sounds like you need something else to help you build the dockerfiles then i.e. I need a dockerfile with nginx, postgres and memcached so I use something like puppet/chef to put it together, is that possible?
- nl 12y agoIt's easy to build new images from Dockerfiles. And "cut-n-paste" based "inheritance" works well when combining two or more Dockerfiles into a single one that has everything you want. But you can't use composition to combine the actual downloaded images themselves. Using Chef within Docker to build up the services is documented on the Docker site[1], and of course puppet or whatever is essentially the same. [1] http://docs.docker.com/articles/chef/ http://docs.docker.com/articles/chef/
- vidarh 12y agoMy personal opinion is that if you think you need a Dockerfile with nginx, postgres and memcached, you're still thinking in terms of VMs. To me, that is three containers.