News for hackers. Stuff that matters.
Re:Why Docker Is Not Yet Succeeding Widely in Production by batou on Tuesday July 28, 2015 @01:39PM (#9963218)
Ansible, systemd and go is stealing my heart at the moment. Basically pick the tech that doesn't cause the problems to start with.

I still reckon that the main reason VMware ESX is as successful as it is comes down to the lack of isolation and sheer deployment hell that windows has been for years. The same can be said for python or ruby on a Linux machine for example. Docker removes some of that pain like ESX does.

Re:Why Docker Is Not Yet Succeeding Widely in Production by tracker1 on Tuesday July 28, 2015 @03:56PM (#9964115)
That's a bit of my point... If you're building relatively small independent services with Docker you can deploy service A with node 0.10 as it's tested environment and service B with iojs 2.4 on the same server, without them conflicting... when you need to update/enhance/upgrade service A you then can update the runtime.

The same can be said for ruby, python and any number of other language environments where you have multiple services that were written at different times with differing base targets. I've seen plenty of instances where updating a host server to a new runtime breaks some service that also runs on a given server.

With docker, you can run them all... given, you can do the same with virtualization, but that has a lot more overhead. It's about maximum utilization with minimal overhead... For many systems, you only need 2-3 servers for redundancy, but a lot can run on a single server (or very small cluster/set)

I have to agree on ansible, systemd and go... I haven't done much with go, but the single executible is a really nice artifact that's very portable... and ansible is just nice. I haven't had the chance to work with systemd, but it's at least interesting.

Re:Why Docker Is Not Yet Succeeding Widely in Production by spoondan on Tuesday July 28, 2015 @04:50PM (#9964380)
> The same can be said for ruby, python and any number of other language environments where you have multiple services that were written at different times with differing base targets. I've seen plenty of instances where updating a host server to a new runtime breaks some service that also runs on a given server.

This is a solved problem in Python and Ruby. In Python, use virtual environments. In Ruby, use RVM. You won't have the issue of one tenant breaking another.

Re:Why Docker Is Not Yet Succeeding Widely in Production by tracker1 on Tuesday July 28, 2015 @04:56PM (#9964420)
And with node, you can use nvm... however there are libraries and references at a broader scope than just Python, Ruby or Node... Say you need an updated version of the system's lib-foo.

A runtime environment for a given service/application can vary a lot, and can break under the most unusual of circumstances. An upgrade of a server for one application can break another. Then you're stuck trying to rollback, and then spend days fixing the other service. With docker (or virtualization) you can segregate them from each other.

Re:Why Docker Is Not Yet Succeeding Widely in Production by regularfry on Tuesday July 28, 2015 @05:25PM (#9964596)
You're correct, but I can see that there's certainly a place for having a single solution that works across all ecosystems.

Also, RVM in production? Sledgehammer to crack a nut :-)

Re:Why Docker Is Not Yet Succeeding Widely in Production by whitenoice on Wednesday July 29, 2015 @12:03AM (#9966086)
In local system yes, but in production its painful to work with. With RVM for isolation you would create gemsets for each app with specific ruby version. It OK for 2-3 applications, but anything more than that would be a pain to work with. And then if you plan to put everything behind passenger, it would just be too messy. Think of automating this? Would be a nightmare to maintain. Over here containerization does help.
Re:Why Docker Is Not Yet Succeeding Widely in Production by jfroma on Tuesday July 28, 2015 @08:49PM (#9965636)
Node has this too : nave, npm and n. But using these tools means that you are not longer using the package manager of the system and this can be a problem sometimes. Eg you need to open your firewall to something else that it is not the standard pkg manager.

I see docker as a valid attempt to fix limitations of existing and broken package system (eg: apt) at a price that I am not yet willing to pay.

Re:Why Docker Is Not Yet Succeeding Widely in Production by dalore on Wednesday July 29, 2015 @11:59AM (#9969484)
Virtual environments doesn't work for the interpreter itself. Not only that some of the packages will need to build c extensions and they use different versions of the same library which might break.
Re:Why Docker Is Not Yet Succeeding Widely in Production by jesse_szwedko on Tuesday July 28, 2015 @09:22PM (#9965721)
It partially is, until you need native dependencies.
Re:Why Docker Is Not Yet Succeeding Widely in Production by patsplat on Tuesday July 28, 2015 @08:19PM (#9965511)
Which version of RVM are we running again?