445 points · by julien421 · 12y ago · 263 comments
We have 3 apps over 32 servers and 5 environments, and operationally it's like pulling teeth. This has the chance to change everything!
How do you think docker containers helps (as Im not sure it would have helped in my previous situation - too many other base issues to deal with first)
We also use database migrations to keep everything updated. It's a simple process but works well.
Code and deployment is all fine, it's maintainaing server configurations across environments (IIS, permissions, ports, ips, firewalls to name a few, a different issue every time and on every env!). Likely this is more to do with having completely seperated operations and development, however bring able to control the apps environment will allow us to deliver more, faster.
See: - http://technet.microsoft.com/en-us/library/dn249918.aspx - http://powershell.org/wp/2013/10/02/building-a-desired-state...
thanks for the info!
http://research.microsoft.com/en-us/projects/drawbridge/
Or something else entirely.
Regarding Drawbridge, as you pointed out it is an internal research project that we have been innovating on, and that has helped us gain valuable experience with containers. Much of what we announced today was born from the experience that we had with Drawbridge and we are excited to bring container technologies to Windows Server and the Docker ecosystem along with Linux. We think the combination of our own hypervisor for container virtualization and Docker containers for creating a unified deployment and management experience is a compelling scenario for our customers.
Our dev process is quite nice, we have fully automated builds and deployments which are feature branch aware, allowing us to run several features side by side.
On the ops side however, most of the work is done either manually or the scripts are unreliable (again, external company nothing much we can do about it). Setting up new environments can take months. Many times we want to introduce new services but the time it would take to get our infrastructure updated usually outweighs any benefits.
Being able to ship configured containers as smoothly as we can ship code would be nothing short of revolutionary!
At a lower level, this is strengthening a proprietary platform, and might lower adoption of FOSS platforms.
At a higher level, co-opting an open source technology to deliver closed source software may indicate a strategic flaw in our approach to FOSS. On Microsoft's part this is clearly a continuation of 'embrace and extend'.
They'll use docker to provide the functionality and build hype until they can build their own version into the OS by default. Docker on Windows becomes obsolete, and everyone runs apps on Azure.
They are becoming too big to be solo... and I'm thrilled for their team
So much for the portability of modern language runtimes (Ruby, Java, Python, etc), or even being able to cross-compile to other platforms.
Docker solves the wrong end of application packaging by essentially packaging up the entire damn global (and non-portable) OS environment.
Much better to focus on what we can control - making docker awesome for as many people as possible.
There are certainly people within Microsoft who want to cooperate with the rest of the world, and their behavior has been better in the past several years, but I wouldn't be surprised if it's built into their corporate culture to destroy or coopt anything that might pose a threat to them. And, it may be that the only reason they aren't still destroying and coopting on a wide scale is because they have so much less power today. The web is not owned by Microsoft; in the end, they lost that war, despite trying very hard.
Anyway...Microsoft is not Google (and Google is not flawless in their relation to the rest of the web and Open Source). I think it's wise to proceed with caution whenever interacting with anything Microsoft has touched.
You can do this today with boot2docker (running a linux VM behind the scenes)
> pull a windows based image and run it on the linux docker platform host?
I suppose the opposite of what I said could be true using something like KVM, but not a use case we are seeing a lot of right now.
ETA? :)
This could be huge for DR.
The MS-bits they're contributing to the Docker project will be contributed in the same way everyone does - under the Apache 2 License, in the open, etc.
> Will it be in Go?
It will be contributed in the main docker repo - github.com/docker/docker
As a result, it will be a community/maintainer decision what language it's written in, but obviously we're heavily biased toward Go.
Will Docker be shipped as a part of a Windows Component & a paid service from MSFT?
http://www.microsoft.com/en-us/windows/enterprise/products-a...
That said, it would allow for a more consistent developer experience for application/server development towards how things are deployed with containers on Linux. The biggest advantage OSX really has is that you get a clean UI for when you are simply a user, and a unix environment with the same tooling you use to build applications that will be deployed on Linux.
My true hope for this, was actually to see something beyond boot2linux. And, oh I really wish that HP didn't disable the virtualization support on their lower-end desktops (what I'm currently stuck with at work). VMWare workstation is really the only option for me, and running Ubuntu under that for *nix dev/testing.
Yes!
> How will that work?
The same way it works now. Find an image you want to run, and docker run it.
http://news.microsoft.com/2014/10/15/DockerPR/
"Microsoft Corp. and Docker Inc., the company behind the fast-growing Docker open platform for distributed applications, on Wednesday announced a strategic partnership to provide Docker with support for new container technologies that will be delivered in a future release of Windows Server."
I strongly suspected that Windows Server vNext would have some sort of 'container' support after the wild success of Docker.
You can set a process's CPU schedule, you can also set it to a "background" priority which reduces both its CPU and IO to the lowest, but you don't really have fine-tune control of how much IO/Network a process has (irrespective of CPU).
This means on Windows in general it is very easy for a single process to run away with all of the machine's IO and there isn't a lot you can do about it except killing the process (I've seen backup clients, anti-virus scanners, etc do this).
It wouldn't be as big of a problem on Linux because first off the IO scheduler seems to be better, but even if it wasn't you can go in and manually configure a process's maximum throughput in a bunch of different ways.
If Windows didn't support this then what is stopping a single Windows-Docker container from stealing all of the system's IO or network capacity?
That gives you virtual LAN bandwidth control, "Storage QoS" (IOPS limits), partitioning, affinity and CPU limits. Not only that you have virtual SAN and network fabric. It's pretty awesome!
If you utilise it by deploying your app to a .wim file and then use wim2vhd and fart it at a Hyper-V host, docker already exists on Windows so I'm not sure what all the fuss is.
Yes we do this.
Hyper-V and similar are great. They aren't as good as containers however. You gain more security with Hyper-V but even assuming full hardware support it is still an expensive thing to be doing.
On a normal desktop machine you can run maybe 2-4 virtual machines (depending on a lot of factors). On that same machine you would want to see 4-10 containers each container doing one "thing" and one thing only.
I guess that at many places you'd just buy datacenter edition, but that's a bit too much for small businesses.
That's when I knew we had a great potential to partner.
That said, yes, the current plan is that this kernel/service enablement comes with a future version of Windows to be able to run Windows Containers.
Congratulations to MS though, I think this is a good initiative. Not sure why you even need a partnership with docker TBH as they didn't create the underlying OS technologies that make containerization possible on Linux.. But, with the acquisition of Mojang it is apparent MS is placing a lot of emphasis on acquiring mind share.
Secondary, a native Darwin Docker server would be killer.
The mobile implications could be huge if this made it out of Windows Server.
You'll have 2 hubs, the "windows hub" and the "linux hub".
This is incorrect.
That said, it's true that Windows won't all of the sudden gain the ability to run ELF.
Running boot2docker on windows is sort of cheating in that it is a virtual machine running docker apps and this effort appears to be a native dockerd running on Windows. Thoughts?
that sounds promising...
I actually got unofficial approval to push my League of Legends linux image to the hub, which is an absolutely PITA to get installed right. I may do that; I don't play enough to maintain it.
What do you mean by get approval? Isn't LoL F2P? Did you have to get approval from the creator or Docker?
Great idea. I will definitely reach out.
> What do you mean by get approval? Isn't LoL F2P?
Just because it's F2P doesn't mean I have a license to distribute it.
> Did you have to get approval from the creator or Docker?
Docker is an open source project. So, in effect, all contributors (including me!) are creators of Docker :)
The tangential benefits/integrations start to get really interesting.
Your app is a folder and that folder contains everything needed to run the application even up to the point of self-hosting with OWIN - IIS is not needed anymore!
(1) http://www.asp.net/aspnet/overview/owin-and-katana/an-overvi...
Docker will sit on top of that and provide the same client API you're accustomed to, but run Windows based images natively.
Office 365 client only?
[1] https://chocolatey.org/ [2] https://oneget.codeplex.com/
Windows already has a package manager called, creatively, PKGMGR. It is already used to install packages from the command line in core edition (or regular edition).
I can't speak for Microsoft, but, there's been a ton of thought put in to this, but details subject to change as they start to contribute to the project.
That said, I imagine each container would need those base services (svchost.exe, as an example), its own registry, etc.
> How would you use the build file to install your dependencies without a package manager?
Lots of examples (in child comments), but more will be announced here soon.
All great ideas and we are currently thinking though exactly the same ideas as well. Which of these ideas would you like to see happen first, what would be most important to you?
Not sure this is a good idea for Docker though. Doesn't it mean they lose their focus on Linux? Seems to complicate things a lot, and potentially introduce conflicts when prioritising what to do next. Simple is good. Serving a closed source operating system looks unwise, given the nature of their business.
I referred to this above, but big partners working on meaty objectives is actually a positive success criteria that the governance model is built for.
That said, we try very hard to ensure that the flow of the project remains unencumbered.
Docker is a community project; one of the beautiful benefits of that is that Docker can change as long as you can reach critical consensus on any design proposal.
Without the partnership, Docker could be brought to Windows at some undetermined point in the future as soon as those native capabilities existed.
With the partnership, we have a set of dedicated Engineers from Microsoft and the community who are eager to build consensus around getting Docker integrated to the new API/Services that they're creating as soon as possible.
There's no free lunch - if the contributions don't stand the scrutiny of the maintainers, they will continue to work with them until it does.
I hope that helps - happy to discuss further!
I wonder if Steven Sinofsky would have been game for this?
A lot of Windows developers use commercial Windows for development (i.e. Win7) with these features I anticipate more developers using (the more expensive) Windows Server.
If your build output could be a container (VS build process?) that you can ship, or as in a lot of "enterprise" organisations pass on to QA / UAT then this is a big deal and a massive huge step.
Any contribution by Microsoft to the Docker project (currently slated, the Docker Daemon for Windows) will be governed over said license.
What Microsoft chooses to do with Windows/kernel features/how that is licensed is left to their discretion.
How much would this cost and how is the pricing evaluated?
I don't know the price of the next version of Windows Server, but, Microsoft has committed to make Docker available on that.
So, to use Docker on the next version of Windows Server, it will be the cost of the Windows Server license.
I do realize corpo-world is filled with Windows Servers now but it seemed Linux/Docker could change this with containers as a 'standardized server app format' with super easy provisioning process.
Now since Windows will get more or less the same - Linux/Docker and Windows/Docker will compete on tools and raw perf.
Pretty cool evolution, isn't it?
In order words, will there now be Windows images and Linux images, and Windows images will run on Windows hosts and Linux images on Linux hosts?
More on that soon.
Is it something like an integration of Mesos, Fig and Docker?
It sounds like Docker is going to eventually put something out that touches on some of this stuff (although not necessarily self-healing etc.), just wondering how we can take advantage of that or avoid duplicating functionality.
Oracle DB is available. That's got to say something.
Not a bad strategy.
They haven't lost a bit of relevance with the majority of the paying user base. However the tech press like to spin it that way. When I see a Mac or a Linux box in a 2000+ seat corporate network, then perhaps I'll believe it. The only markets they aren't winning are the freshly created volatile ones.
Spending time in the open source world with younger developers, it's clear the only value they get from Microsoft is for their gaming machines at home. While a number of them respect the development tools, it doesn't matter because Microsoft has done a great job tying it to the Windows titanic.
I recall interviewing with a number of companies in the mid 90's and talking with the programmers who worked with DEC based tools. The ones I talked to had nothing but good things to say about their tools and systems and how they had real implementations of various systems that PC's were trying to implement at the time. I can't help but look back and find myself in the same position on a course towards becoming irrelevant in 10-20 years.
I guess what I was trying to get at is Microsoft is going to have to make a considerable effort to focus on luring the generation they lost if they want to remain relevant. That generation of developers isn't simply going to pony up for slightly better tools. They demand having access to software when it's available so they can download it immediately with one of twenty different package managers.
I'm not predicting Microsoft's doom, but I am saying that Microsoft is facing an incredible number of challenges that will make "do everything" a bad strategy. On too many fronts they're faced with competition that ranges any from inferior to superior, but free. In development tools, they're up against a huge community of open source tools with some of them funded by huge companies whose revenues don't depend on the sale of software. MS Office's share is eroding, not just to direct competition, but to indirect alternatives that posit that complicated word processors and spreadsheets are the wrong answer.
I also don't think Microsoft can do everything because software is going through a Cambrian type of explosion where you're seeing all sorts of manifestations of species and hybrids. Sure a lot of these species will die out, but as we witness new species of databases and operating systems it will be difficult for a large company like Microsoft to predict which ideas it needs to pay attention to and which to ignore. Adapting the complicated markets is an incredible challenge, but there are companies that have done a remarkable job staying on top.
I had the same response to the predicted demise of Palm and Blackberry. I'm not saying that I know the outcome but that current success is not a predictor of future performance, especially in an industry where disruption is such a focus.
Good luck to Docker.
Our website (docker.com) and the Docker Hub (hub.docker.com), our hosted service, are managed directly by Docker employees and offer a better maintained and security-focused cipher suite than our blog.
Unfortunately, we are aware that the blog's SSL/TLS configuration is not ideal. It is on externally hosted infrastructure and we have been working with our service provider to rectify these issues. We have high expectations of the services we consume and will do what is necessary for the long-term security and confidence of our users.
Or the GUI exe will be also isolated from each container session?
Docker people will spend more time fixing and making bugs due to Microsoft, the documentation will become a mess (it cant possibly be same documentation for that different systems), the Linux-side of docker will be more mediocre compared to what it could have been if all effort went to it.
Remember Internet Explorer 6, Visual Basic, the horror that is Excel and the whole Office suite, Asp.net, Windows Millenium, The attempt to kill Linux by Microsoft through SCO.
This isn't any different than Red Hat contributing the Device Mapper backend to Docker so it can run unmodified on RHEL. Nothing about the UX changed/fragmented from there.
Otherwise existing Dockerfiles will not build on Windows - right?
It's still a compelling option, but I'm not quite certain of the value that it will bring to the table here.