News for hackers. Stuff that matters.
Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by mschuster91 on Saturday November 14, 2015 @02:50PM (#10566960)
> Container hype is running high. Developers have flocked to the technology for more easily packaging applications and running them across various disparate environments.

It's a hype that should die in a fire bigger than the one reserved for Adobe Flash.

Many people will think they can just deploy a shitload of containers and be done... well, each and every single one of them has to be maintained, updated for security fixes...

Not to mention the likely possibility of breaking API changes in the container version. vagrant/puppet I'm looking at you, nothing is worse than having to figure out which ancient version of vagrant and puppet was used at creation in order to get the system running again. Or, well, look five years in the future, and hope today's hyped container solution will still be present then.

Fuck containers, get a properly managed ordinary Debian server and save yourself a lot of headaches.

Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by toomuchtodo on Saturday November 14, 2015 @03:27PM (#10567087)
I've tried so hard as an infrastructure person to explain this to people. It's better just to ignore the hype or move to sane orgs that aren't on the container hype train (so you're not wasting valuable time on tech that's going to get gutted eventually).

There is no magic tech that makes problems go away. Just abstractions (sometimes they work, sometimes they don't).

Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by throwaway2048 on Saturday November 14, 2015 @04:27PM (#10567337)
Containers turn app developers/deployers into distro maintainers. This is far outside the kind of thing they are likely to be competent at, and because they get their own enviroment very grevious problems can and do go unaddressed, because there is no apparent effect on other things.

Until of course, everything explodes.

Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by modoc on Saturday November 14, 2015 @04:45PM (#10567396)
I'm glad I'm not the only one. I'm trying to not be the old dog who can't learn a new trick, but the recent hype around massive containerization in production, and micro services, etc... just baffle me. As someone who's been doing application and infrastructure architecture for almost 20 years, for most application environments the cons seem to out-weigh the pros by a large margin...
Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by aNoob7000 on Saturday November 14, 2015 @03:36PM (#10567122)
Welcome to my world. I'm currently dealing with DevOps and the cloud. It seems that the marketing machines in tech are running at full speed.
Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by olalonde on Saturday November 14, 2015 @04:14PM (#10567289)
It's hard to take your criticism seriously when Google, Netflix, Heroku, Shopify, Paypal, Uber, Ebay, Yelp, Spotify don't qualify as "sane" orgs according to your criteria.
Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by weego on Saturday November 14, 2015 @04:26PM (#10567332)
Meh large companies have large numbers of devs with varied opinions and power to apply those opinions. Lots of things we think of as shit now and have since dropped like a heavy coat has no doubt been implemented at one time by at least 1 of the companies you listed. It's whether they stand the test of time.

The number of man hours invested (wasted imo) into pointless layers of container stacks is mind blowing and I'm yet to see the return on investment for any of it in real world scenarios. The cynic in me sometimes thinks you get some new abstraction to beta and the set up your own con and get some time off work to talk about it, and having been a primary speaker at a conference gets your CV gravitas. Theres a con for every goddam library any Big Name releases before you can even properly evaluate it in a prod stack.

As as side point that doesn't entirely fit with my argument the most important lesson I took away from dev conferences when I still went to them is that devs wax lyrical about all kinds of things in public, but often the things they talk about are their pet projects or sidelined to some small part of the business that doesn't really affect the main workflow, yet because they work at a Big Name we attach importance to it.

Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by mschuster91 on Saturday November 14, 2015 @05:48PM (#10567621)
All the companies you name have significant engineering manpower to dedicate whole teams to maintain all the tooling so that the devteams don't need to worry about maintaining their containers, VMs and whatnot.

I dare say that all that microservice stuff only works with 300+ employees if you keep everything containerized.

Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by muzmath on Saturday November 14, 2015 @08:42PM (#10568150)
Where are these magically difficult to maintain containers? I regularly deploy stuff via containers and moving my github repo to a container to being deployed is very simple.
Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by georgebarnett on Saturday November 14, 2015 @06:19PM (#10567731)
The role of systems administration is changing.

It's no longer building some servers that run and putting somebody else's code on it. Instead, it's working closely with the team producing code and helping build a mature deployment and management capability. It's about being a responsible expert on the bits outside of the application process.

Containers help immensely here because they recognise that a product is composed of more than just an application and they have lowered the barrier of entry to making the system of parts as a whole cooperate.

As part of this change there will of course be quality issues. Classically trained developers will produce poor quality container images, just as classically trained sysadmins produce poor quality apps.

This initial hump will pass as new tools are introduced to assist with this and as people learn the skills they need to produce higher quality images.

If you have the skills, invest your time in helping this process along rather that raging at the fact you work in an industry where change is disruptive and constant.

Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by eropple on Saturday November 14, 2015 @10:29PM (#10568365)
> invest your time in helping this process along

You may find containers to be useful in this process. With rare exceptions, I don't, and the way you write this post with the implication that containerization is an unmitigated good grinds my gears. Disruptive and constant change leads plenty often down real bad roads, and unthinking embrace of every fad that comes down the pike has led to many more disasters than conservative thought has.

Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by georgebarnett on Saturday November 14, 2015 @11:21PM (#10568474)
I do find containers to be good although I'll admit I'm biased - I have several hundred thousand apps in production in containers, running in an efficient and scalable way that would not have been possible using prior technology.

My experience is that using containers effectivelly requires a substantial rethink of the infrastructure and how the teams using it work. The payoff though is a step change in productivity.

Over time, I believe that companies which embrace the change will deliver more quickly than those who do not. They will get products to market in a shorter timespan and generally be nicer places to work.

Will that mean the death of other ways of doing infrastructure? No probably not. After all, there are still mainframes and cobol programmers out there.

Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by stephengillie on Saturday November 14, 2015 @04:44PM (#10567393)
Something I think a lot of people struggle with, both on the Dev side and the Ops side, is to think of VMs and containers as completely disposable. Does it add value, or help you, for you to have an emotional attachment to this server?

Instead of doing OS updates, application updates, code updates, and configuration updates to 50 identical webservers that live behind load balancers, it might be faster to upgrade one. Then that one can be templated, cloned and deployed and replace the currently operating ones. There's still server name, IP address, and other configuration that has to be automated, and sometimes automating this is harder than automating all that patching, sometimes not.

This obviates server histories. True - you can't say "This VM has always performed better than the others" since you get a new farm of VMs every month. While many see that as a downside, it's actually a benefit that you don't need to think about that data.

Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by modoc on Saturday November 14, 2015 @04:54PM (#10567431)
Puppet/Chef and general admin automation scripts handle the updates/config changes/etc... very easily without the added complexity of container management/orchestration.
Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by superuser2 on Saturday November 14, 2015 @09:45PM (#10568274)
Ha! I worked at [major tech company] and our Puppet runs took about 3 hours. Developing manifests was surreal - punch card era code/compile/test cycles. The worst and most frequent production outages were seemingly innocuous Puppet changes that made it through code review. Our puppet manifest was in the 10kloc range, most of them generated.

Containerization is now letting individual teams manage app-specific configuration they actually understand and can test and iterate. A central org maintains the base image and can redeploy our containers with OS-level fixes as necessary. Our "self-service" deployment infrastructure was a behemoth that no one understood, documented by tribal knowledge. At less I can Google how to use the Docker API.

Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by eropple on Saturday November 14, 2015 @10:30PM (#10568371)
If your Puppet runs take three hours and range into the thousands of lines, that's a disastrously poorly built Puppet environment. Blame your people, not your tools.

(And I say this as no fan of Puppet; I'm a Chef user. Where I've never seen anything remotely that deranged, even in dysfunctional environments.)

Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by sagichmal on Saturday November 14, 2015 @03:38PM (#10567136)
> each and every single one of them has to be maintained, updated for security fixes...

No, of course not. No single container should have a lifetime greater than a day or two. "Maintenance" is deploying the latest, integration- and end-to-end-tested version of the software, as part of a continuous build pipeline.

Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by modoc on Saturday November 14, 2015 @04:47PM (#10567403)
So your haproxy, nginx, ldap, dns, nagios, sftp, ELK, imap, etc... services don't live more than a day or two? Interesting.....
Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by freebullets on Saturday November 14, 2015 @05:24PM (#10567540)
When you run fully redundant services behind a load balancer, you don't need to worry about taking down one instance of a service for maintenance.
Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by toomuchtodo on Saturday November 14, 2015 @11:13PM (#10568454)
Good luck with your services that need to maintain state. Not everything is a stateless microservice.
Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by nbaksalyar on Saturday November 14, 2015 @05:20PM (#10567523)
Why not? It helps to think that containers are immutable. The actual data can be stored in either separate bare containers or on the host file system.

In this case the application containers themselves can perfectly live less than a day.

Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by sagichmal on Sunday November 15, 2015 @02:20PM (#10570697)
If they are containerized, no, they don't.
Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by hueving on Saturday November 14, 2015 @03:52PM (#10567195)
So you depend on every application company to update their containers for every library vulnerability that emerges that they embed? Good luck with that.
Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by nmjohn on Saturday November 14, 2015 @04:05PM (#10567250)
> their containers

Build your own images, problem solved. (Albeit creating a whole host of other problems in place of it, but those are no worse than a world without containers.)

No one relying on third party images beyond an OS can claim that they _really_ care about security or vulnerabilities anyway.

Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by sagichmal on Sunday November 15, 2015 @02:19PM (#10570695)
I build all of my own containers.
Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by jstanley on Saturday November 14, 2015 @04:00PM (#10567228)
> Many people will think they can just deploy a shitload of containers and be done... well, each and every single one of them has to be maintained, updated for security fixes...

Do you apply the same kind of reasoning to virtual machines, and reach the conclusion that a single massive mainframe is the optimal configuration?

Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by muzmath on Saturday November 14, 2015 @08:43PM (#10568155)
His incoherent rant is only motivated by a threat to his career
Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by RileyCR on Saturday November 14, 2015 @05:46PM (#10567614)
Wow dude. Clearly you have not touched Docker. And if you have ever run a VM that is a container. Or I guess you are only using a mainframe? It's just a component like any component to any application. And there is plenty of tooling to help with updates and compliance, like CoreOS open source of Clair. Your point seems to come from another place because technically it's totally misguided.
Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by toomuchtodo on Saturday November 14, 2015 @11:14PM (#10568459)
DevOps guy who has the pain of working with Docker. I absolutely love getting to work with a product that breaks at point releases.

Oh, right. I'm supposed to have no life as a tech worker and spend countless nights dealing with container runtime issues in production because "It's The Wave Of The Future".

Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by muzmath on Sunday November 15, 2015 @12:18AM (#10568579)
Care to explain what issues you have ran into and how recent it was?
Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by vdaniuk on Saturday November 14, 2015 @03:42PM (#10567153)
I've gotten so much utility out of docker, it feels absurd to read this comment. Containers made the sysadmin part significantly easier, whether it was testing new Node releases, trying out random databases or learning new languages. Without containers I would be spending a lot of time configuring servers/VMs and failing at that. So strange.
Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by mkhpalm on Saturday November 14, 2015 @03:51PM (#10567188)
I don't think anybody is suggesting containers are bad for ephemeral exploration, development, the things you mention. The argument is what you use it for when it comes to production. For example if you're modeling machines with docker you're already using it wrong. Even docker considers that an anti-pattern.
Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by vdaniuk on Saturday November 14, 2015 @04:05PM (#10567244)
I've invested some time to learn about best practices and have been using docker in production for many months with completely satisfactory results. I am not seeing a rational discussion here.
Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by micron7 on Saturday November 14, 2015 @07:55PM (#10568012)
Me neither, all I see is an avalanche of FUD by what seems to be "old-timers" in this forum. Also mind the fact they haven't been down-voted. This tells me the people with down-voting abilities and this FUD-spreading old-timer group overlap greatly. The main commenters spreading FUD have karmas of ~1500, ~2500, ~12400, ~2900.
Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by mbrock on Saturday November 14, 2015 @06:06PM (#10567681)
It's not so emotionally satisfying to talk about "how does The Thing help you concretely and what concrete difficulties have you run into," and way more fun to talk about either "it's all just hype, everyone's a stupid newbie" or "The Thing is total amazeballs and totally teh future you guys."
Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by mschuster91 on Saturday November 14, 2015 @03:47PM (#10567174)
> Without containers I would be spending a lot of time configuring servers/VMs and failing at that

If it turns out during evaluation that setting up a simple Debian VM with the requirements of the tool, the tool ends up on the "black list" for me.

No matter the possible productivity gains, I won't use anything needing more than two hours just to get started (i.e. running a Hello World).

Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by vdaniuk on Saturday November 14, 2015 @03:51PM (#10567190)
Those possible productivity gains are available to me without putting in too much time or effort using containers. Seems like a win.
Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by cwilkes on Saturday November 14, 2015 @04:32PM (#10567358)
No matter the possible productivity gains, I won't use anything needing more than two hours just to get started (i.e. running a Hello World).

well that certainly helps frame your posts. In this case docker has a webpage that you can play around with. Maybe 10 minutes to get the basic idea.

I'm struggling to find out where your hostility comes from. It doesn't make your job disposable, which it sounds like where your fear comes from. Just because people can't come to you to get the ideal Debian server setup doesn't mean you are less valued.

Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by mschuster91 on Saturday November 14, 2015 @04:52PM (#10567426)
> I'm struggling to find out where your hostility comes from.

I like to be in absolute control over my environment - and my time. If a tool author cannot manage to provide a Debian package with reasonably current and extensive documentation, I won't waste my time.

Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by muzmath on Sunday November 15, 2015 @12:25AM (#10568595)
This thread has been stormed by people who work in the sys admin space and either don't care to learn the technology, have used it unsuccessfully while it was young, or see it as harmful to their career.
Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by vdaniuk on Sunday November 15, 2015 @06:37AM (#10569329)
HN tech hivemind is often both conservative and arrogant: node is an aberration, atom is a travesty, docker is for the lazy, front end frameworks are overused, etc etc.
Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by muzmath on Sunday November 15, 2015 @10:34AM (#10569842)
Very true. The fact is, even very intelligent people tend to stick with ideas that were popular as they 'grew' into their position.

Programming is young, but if you look at the history of more developed fields such as physics and mathematics, there is a very long history of extremely respected scientists out right rejecting new theories for being outlandish and ridiculous that we now accept as the bedrock of scientific theory.

The truth is, just as with physics and mathematics, in computer science new ideas do form, but older generations rarely adapt, and it's only with death of the old, and the growth of a new generation do ideas become accepted.

Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by muzmath on Sunday November 15, 2015 @12:22AM (#10568589)
Here you go: `docker run ubuntu:14.04 /bin/echo 'Hello world'`
Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by muzmath on Saturday November 14, 2015 @08:37PM (#10568141)
> well, each and every single one of them has to be maintained, updated for security fixes...

Then you patch it by redeploying it.

> Not to mention the likely possibility of breaking API changes in the container version. vagrant/puppet I'm looking at you, nothing is worse than having to figure out which ancient version of vagrant and puppet was used at creation in order to get the system running again

Is this a real issue that people run into? I've never had any issues with this.

> Or, well, look five years in the future, and hope today's hyped container solution will still be present then.

Good thing the real work essentially boils down to some scripts which can be easily translated into any new technology

> Fuck containers, get a properly managed ordinary Debian server and save yourself a lot of headaches.

Spotted the Debian sys admin!

Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by yeukhon on Saturday November 14, 2015 @05:51PM (#10567635)
These are great point, but as someone who is beginning to think what I can do with containers for my current infrastructure setup, so far my impression is container is not to change the infrastructure, but rather how compute is used.

The meaning and the life cycle of container are no different from having a big virtual machine image, but container technology such as docker has been made blazing quick to start and kill, and I think that's a step forward. Containers in general allows multiple applications live in its own "pretty good" sandbox environment (read about Docker security, as there are many security implications most people don't pay attention to). This is great for truly stateless applications, or ETL applications, for which there is no need for a pool of machines dedicated to just host one specific application. This is not something we can do with big virtual machine unless now you want to invest your time to manage creating different users on the server, carefully writing down UNIX permission, as opposed to understand the security control around using containers (and linking containers). And many people don't pay attention to the size of the base image. Most people probably just use the vanilla Linux (ubuntu/redhat/centos, etc) image, but that kind of Docker image is too big for scaling and testing.

An example of ETL or long running program would be downloading huge files from some on-premise, and upload files to S3 in chunks. If your files are large, you should chunks to your compute. To keep track of progress of thousands of chunks, you need queue and worker nodes. now you've got a fleet of computes, and you want to run everything (worker and primary web applications handling the requests) in parallels, as quickly as possible, as stateless as possible on the compute side, you can leverage containers, plus the use of queues, and a RMDBS for transaction logs. Here container technology such as Docker is useful.

You are right, don't blindly follow the "everything should be containerized" hype, I don't think most people would dare to containerized Cassandra database and fit a big box with Cassandra database and web applications running in production.

Regardless of approach, when it comes to self-healing, highly automated, reproducible, and secure infrastructure:

* service discovery

* access control

* monitoring and insight analysis

* credential management

* version control and management (containers, security patches, container and image life cycle)

are problems we cannot solve with containers without integrating with third-party softwares.

Guess, what, there is no one solution solves these. They are just buzz words and goals we haven't achieved well as a community... even OSS platforms like CloudFoundry and Kubernetes are only able to do the application-side of life cycle to the point of easing deployment, not so much everything else.

Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by hosh on Saturday November 14, 2015 @08:11PM (#10568071)
I don't know much about CloudFoundry -- but with Kubernetes, are you saying that it's service discovery, access control, monitoring and insight analysis, credential management, version control and management are not addressed directly by Kubernetes, or perhaps, not mature yet? Just trying to get clarity on what you are saying here.
Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by jacques_chester on Saturday November 14, 2015 @10:37PM (#10568383)
I can answer for CF. Service discovery, access control, monitoring, credentials and management are part of the core feature set -- because that's what distinguishes a platform from a single tool.

Version control properly lives outside the runtime environment, in my opinion; though these days CF has Gitlab integration points.

Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by hosh on Wednesday November 25, 2015 @01:29AM (#10625691)
Weird. Most of that is available in Kubernetes.
Re:Ex VMware, Microsoft and Citrix workers set up applicatio... by olgeni on Sunday November 15, 2015 @07:59AM (#10569486)
I'd skip the "Debian" part if possible.