Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What's the future plan for LCOW? #6470

Closed
0x53A opened this issue Apr 27, 2020 · 7 comments
Closed

What's the future plan for LCOW? #6470

0x53A opened this issue Apr 27, 2020 · 7 comments

Comments

@0x53A
Copy link

0x53A commented Apr 27, 2020

LCOW is really neat to build windows and linux containers in parallel. Do one dotnet publish and two docker build, and you can support both Docker on Win and on Linux.

At least in theory ...

I'm hitting #2623 every second push, and there wasn't any response, or even acknowledgement of the issue.

Yes, I know it is experimental, but there isn't really any alternative, I don't want to maintain a linux buildserver just to build the docker images.


Will LCOW stay in experimental forever? Will it be removed in a few weeks?

Will the LCOW backend be replaced with WSL2? As I understand it the WSL2 backend replaces the Moby VM, but you still have to explicitly switch between Windows Containers and Linux containers, not like with LCOW and the --platform flag.


I could see that LCOW was moved from Moby to ContainerD: moby/moby#33850

What does that mean? Is ContainerD a part of Docker Desktop (and/or EE), or is it something separate?

Thanks!

@nebuk89
Copy link

nebuk89 commented Apr 28, 2020

LCOW is an upstream component to us: we bundle it. As you note, it's still experimental, and has been for years now. To be honest, it has never reached the level of quality upstream that we felt we could label it as non-experimental in Docker Desktop.

Our attention has mostly moved onto WSL 2 now. It's a much better technology, and we're expecting it to be released by Microsoft in their Windows 2004 release. We haven't yet made any final decisions regarding the future of LCOW, but I would recommend WSL 2 as the long term solution.

The remaining part of your question is about switching between Linux and Windows container engines. We know this feature was one of the attractions of LCOW, and one of the main reasons people liked it despite other quality problems. It's a valid use case, but it turns out that we have only a very small proportion users using both Linux and Windows containers — it's usually one or the other — so we haven't prioritised as much as if we'd had more users wanting it. But I think it would make an excellent feature request for the docker roadmap: maybe you could submit it in the docker/roadmap repository.

Thanks!
Ben

@0x53A
Copy link
Author

0x53A commented Apr 28, 2020

Thanks for the response! For me the main feature is not running them in parallel, but building them in parallel.

@riverar
Copy link

riverar commented May 23, 2020

@nebuk89 Missing from this write up is Docker Enterprise. Docker-EE cannot utilize WSL2, so are they stuck now?

@stephen-turner
Copy link
Contributor

This GitHub repository is only about Docker Desktop, not Docker EE. Docker EE is not even owned by Docker, Inc. any more, but by Mirantis, so you would need to ask them what their plans are with respect to LCOW. Sorry not to be more helpful, but we have no visibility into their plans.

@nebuk89
Copy link

nebuk89 commented Jun 17, 2020

@0x53A heard loud and clear. Are you doing this from a single compose file right now or is that your goal? (I have had this feedback from else where :) )

And @riverar as Stephen says, this is just for Desktop edition and doesn't reflect the conversation around Engine or Enterprise Engine :)

@0x53A
Copy link
Author

0x53A commented Jun 17, 2020

@0x53A heard loud and clear. Are you doing this from a single compose file right now or is that your goal? (I have had this feedback from else where :) )

Two dockerfiles for now, but if I changed the FROM line to use an ARG I could probably use just one.

@docker-robott
Copy link
Collaborator

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows.
/lifecycle locked

@docker docker locked and limited conversation to collaborators Jul 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants