4 ms·
Amazing news. Decided 6 months ago to go with Docker (both in dev and in production) for a financial application. It was a risk, and I got lots of resistance fr
by csomar 12y ago
Amazing news. Decided 6 months ago to go with Docker (both in dev and in production) for a financial application. It was a risk, and I got lots of resistance from the other devs and the security expert on the project.
Docker is simply amazing. I'm currently using Grunt to manage the images/containers, but Docker Compose will replace some of that in the future.
That being said, here are what you should expect:
1. It's not a VM. What work in DEV will not work in PRODUCTION. Be ready for some nasty debugging.
2. It's better to use the same OS (e.g. Centos) for both DEV and PRODUCTION.
3. Image sizes are not really small. Docker is consuming around 4GB of space for 6 containers.
4. Sometimes it breaks. I just need to destroy the whole thing and start clean. But that's Grunt ReRerun. And it works nicely.
5. I can update the code base, data, the applications, the whole OSes structure with Grunt ReRun. Takes a couple minutes.
- vacri 12y agoI have similar experiences to what you listed... and it's why I'm going to be moving away from docker in the mid-future. That 'nasty debugging' consumes a ton of time. I'm probably going to head back to .debs. I see a place for docker, but not on my production servers. It consumes gobs of disk space in practice and requires a lot of hand-holding; an extra layer of stuff to work around and to debug. I was resistant to it at first as they'd just started using it in the company when I arrived, but the devs kept talking about how wow it was. Fast forward to today, and not a single dev has it installed on their machine. None of them are interested.
- zwischenzug 12y agoInteresting. What do they do now?
- vacri 12y agoGenerally what they were already doing, as only one or two actually installed docker in the first place. They use Gulp to manage their dev systems, but I'm not sure if they use any other tools.
- zwischenzug 12y agoRight, so it never really took. My experience is that it doesn't happen by itself, and needs focus from someone to make it work for you, much like you can't just install Jenkins and declare CI "done".