News for hackers. Stuff that matters.
Re:Docker, CoreOS, Google, Microsoft, Amazon to Develop Comm... by JTenerife on Monday June 22, 2015 @11:25PM (#9762440)
I don't understand how you configure your host-specific servicc dependencies, e.g. connection strings. Ansible (Puppet, Chef) does variable interpolation / templating for this purpose.
Re:Docker, CoreOS, Google, Microsoft, Amazon to Develop Comm... by superuser2 on Tuesday June 23, 2015 @02:40PM (#9766743)
This is a hard problem, but outside the scope of Docker. There are numerous cluster orchestration/management systems springing up around the ecosystem. (We don't necessarily have on ready for prime-time yet, but a lot of very good work is taking place.)
Re:Docker, CoreOS, Google, Microsoft, Amazon to Develop Comm... by joslin01 on Tuesday June 23, 2015 @10:36AM (#9764875)
I have configuration files for each environment, so `dev.config`, `staging.config`, etc...
Re:Docker, CoreOS, Google, Microsoft, Amazon to Develop Comm... by michaelt on Tuesday June 23, 2015 @12:03PM (#9765555)
Do you deploy the same docker image to each environment, and somehow retrieve the configuration files on startup? Or do you rebuild your images as you promote from dev to staging to prod?
Re:Docker, CoreOS, Google, Microsoft, Amazon to Develop Comm... by joslin01 on Saturday June 27, 2015 @03:56PM (#9791349)
Yes same docker image, but with different environment variables passed in for dev / staging / prod.