4 ms·
I really like what this script is doing - it's specifying system level dependencies, a database schema, an interpreter, the code that runs on that interpreter,
by cowboyscott 3y ago
I really like what this script is doing - it's specifying system level dependencies, a database schema, an interpreter, the code that runs on that interpreter, the data (on disk!) required by that code, and an invocation to execute the code all in one script. That's amazing, and this is an excellent model for sharing a stand alone applications with non-trivial dependencies!
However, Docker is an OS-level virtualization. Docker natively supports Windows in the sense that there is a native app. That native app spins up Linux virtual machines, so the container is "native" to my Intel CPU with their virtualization extensions, but it is not native to Windows. I use it, which I say with no animus toward your original message.
edit: I was ignorant of native windows containers. I'm old and my brain still maps docker to lxc I guess. Apologies to OP - the DirectX line should have caught my attention.
- cpuguy83 3y agoNo, Docker supports native Windows containers. Docker Desktop aims to provide the same experience across Mac and Windows and as such those use Linux VM's, yes. However Docker most definitely supports Windows containers.
- cowboyscott 3y agoSorry, that's right. You can probably guess that all of my Windows Docker use is with Linux images. This particular script wouldn't work as there is no node image for a native windows host (unless there is? again, I'm ignorant of native windows containers).
- airtonix 3y ago[dead]
- smitty1e 3y agoWindows Services for Linux can install a Ubuntu image for ready usage.
- samstave 3y agoAlso ignorant - I have WSL/DockerDesktop etc... I run ubuntu desktop in a vbox VM. If I run ubuntu desktop on docker, I have to RDP into it. What type of container will WSL build? A desktop - or headless with CLI? Finally - which is lighter-weight, Vbox VM, or a Docker container, or whatever WSL makes? EDIT: NM - I understand the answer now.
- smitty1e 3y ago> What type of container will WSL build? Pretty sure WSL is installing the full OS as a guest, a la VirtualBox