News for hackers. Stuff that matters.

Ask HN: Best Docker open source alternative?

What is the best Docker open source alternative?

I need a solution to run Linux in a virtual environment on Windows, for use as a development environment for my current open source game project.

( 6 comments | 5 points | on HN )
Re:Ask HN: Best Docker open source alternative? by speedgoose on Tuesday December 05, 2023 @07:39AM (#38530009)
* Docker engine and not Docker Desktop in a VM. WSL2 works well after some configuration: https://github.com/microsoft/WSL/issues/6655#issuecomment-11...

* Rancher Desktop.

* Podman.

Re:Ask HN: Best Docker open source alternative? by verdverm on Tuesday December 05, 2023 @08:13AM (#38530271)
> I need a solution to run Linux in a virtual environment on Windows

WSL2 is exactly this, you can also use VMWare or VirtualBox. In other words, your base linux environment is not containerized, it is virtualized. This is a requirement for any non-linux OS (currently, MS is looking into native container support afaik), because containers are built on kernel features

Re:Ask HN: Best Docker open source alternative? by I_am_tiberius on Tuesday December 05, 2023 @08:21AM (#38530358)
I don't use it and don't know if the answer may be incorrect, but I assume NixOS may help.
Re:Ask HN: Best Docker open source alternative? by roschdal on Tuesday December 05, 2023 @06:46AM (#38529696)
https://podman-desktop.io/ is one alternative, which I will look into testing.
Re:Ask HN: Best Docker open source alternative? by chiefalchemist on Tuesday December 05, 2023 @06:45AM (#38529688)
- What's your criteria for "best"?

- It might help to share what it is about Docker you're not in favor of?

- Can't Win 10 Pro provide a Linux env?

Re:Ask HN: Best Docker open source alternative? by chitraa on Sunday December 17, 2023 @01:16PM (#38674966)
For your scenario, consider Podman with Colima or WSL 2. They balance ease of use, resource efficiency, and Linux tool integration. Podman with Colima offers a Docker-like experience, while WSL 2 seamlessly integrates with the Windows environment. Choose based on your needs and preferences, trying both to find the best fit for your open-source game development project.