3 ms·
Docker captain here. Starting from windows 10 anniversary (which should be free to upgrade) and windows server 2016 windows can natively run Docker containers w
by marcosnils 10y ago
Docker captain here. Starting from windows 10 anniversary (which should be free to upgrade) and windows server 2016 windows can natively run Docker containers without hyper-v. Even though some features might be missing, docker and microsoft are working hard to get everything done. There are plenty of tutorials in the web about how to setup .net and mysql apps natively on windows. I totally recommend it.
- ngrilly 10y agoI 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?
- numo16 10y agoThe containers that run natively use a windows based image, not linux. So, no kernel emulation, no linux syscall translation, just pure windows base
- ngrilly 10y agoThanks for clarifying.
- Const-me 10y agoYes, 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.
- ngrilly 10y agoYour answer contradicts this one from numo16: https://news.ycombinator.com/item?id=12734445 https://news.ycombinator.com/item?id=12734445. Who is right?
- Const-me 10y agoI 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.