Skip to content

Comment on Getting Started with Docker for Windowsparent

Comments

I don't get it. "Natively run Docker containers without Hyper-V"? What does this mean? Does it emulate a Linux kernel? What syscalls are available? What is the underlying filesystem?

Yes, they are emulating Linux kernel by translating the syscalls. I don’t know which ones are implemented, but MS told “lxss.sys has ~235 of the Linux syscalls implemented with varying level of support. This support will continue to improve over time especially with the great feedback we get from the community.”

The underlying filesystem is NTFS, Microsoft implemented two wrappers. VolFs supports all Linux features, but not interoperable with Windows. DrvFs is limited from the Linux perspective, but interoperable with Windows, i.e. Linux apps can read and write data from Windows’ drive C.

Your answer contradicts this one from numo16: https://news.ycombinator.com/item?id=12734445. Who is right?

I think I am.

If you’ll scroll to the end of the linked document, you’ll read docker says windows containers is beta feature not yet available on stable builds.

Also, there’s output of docker version command that clearly says OS/Arch: linux/amd64.

The containers that run natively use a windows based image, not linux. So, no kernel emulation, no linux syscall translation, just pure windows base

Thanks for clarifying.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.