News for hackers. Stuff that matters.
Re:Docker and Microsoft partner to drive adoption of distrib... by echion on Thursday October 16, 2014 @07:58AM (#8464436)
I'm still unclear as to whether the linux apps can be deployed to a docker engine running on a windows host, and, vice-versa, whether docker windows containers can be run on a linux host. The announcement seemed to be clear that both of these are the goal. But your GP post https://news.ycombinator.com/item?id=8458603 causes me to doubt.

Is there a missing comma in each sentence of the goal? It seems like there should be one after "use" or after "engine":

1) [after "use"] Package [on a Windows client] your Windows app in a docker container, use same tooling you would otherwise use [on a linux client], to deploy to a docker engine running on a Windows host Package [on a Windows client] your Linux app in a docker container, use same tooling you would otherwise use [on a linux client], to deploy to a docker engine running on a Linux host.

2) [after "use"] Package your Windows app in a docker container, use same tooling you would otherwise use to deploy to a docker engine [running on Windows or Linux], running [the packaging step] on a Windows host Package your Linux app in a docker container, use same tooling you would otherwise use to deploy to a docker engine [running on Windows or Linux], running [the packaging step] on a Linux host.

I added the implications I understood to highlight the difference the comma placement makes. If there is no comma it's pretty ambiguous / confusing to me on which platform the docker engine is running. I believe from this post of yours that I have misunderstood the announcement, and that windows apps will be able to be made into docker containers that can only run on windows docker engines.

Re:Docker and Microsoft partner to drive adoption of distrib... by cpuguy83 on Thursday October 16, 2014 @10:51AM (#8465186)
No, you will not be able to deploy a Linux app onto a Windows container, or vice-versa.

Containers share a kernel, this would make it impossible. However, with things like boot2docker (25MB Linux distro), this makes it really leight-weight/easy to deploy into a VM and run that way.

Re:Docker and Microsoft partner to drive adoption of distrib... by nickstinemates on Thursday October 16, 2014 @10:50AM (#8465177)
> I believe from this post of yours that I have misunderstood the announcement,

I'm sorry to hear that, we will work to do better.

> and that windows apps will be able to be made into docker containers that can only run on windows docker engines.

This is correct. There's also a thread on how, to the user of docker who just wants to `docker run` something, the distinction doesn't really matter in the end