DEV Community

Discussion on: 10 reasons to choose Linux

 
nicekiwi profile image
Ezra Sharp

Historically you could use Docker Machine for that purpose. But the Docker team have specifically abandoned their machine product to focus on Windows and MacOS products. :( It runs as root on Windows and Mac too but in a VM seperated from the host OS. So ironically it's secure on every OS except the one that enables it's technology to work. The Linux kernal.

Thread Thread
 
wolfiton profile image
wolfiton

Very interesting information, can you pojnt me to where you read about that(source)?

Thanks

Thread Thread
 
nicekiwi profile image
Ezra Sharp

Docker running as root is general information.

Docker Machine being placed into maintenance state is here. github.com/docker/machine/issues/4537

Thread Thread
 
avalander profile image
Avalander

Docker can be run in rootless mode as well. Albeit it is still experimental and has some limitations, I expect it will get better soon enough.

Thread Thread
 
nicekiwi profile image
Ezra Sharp

Interesting googles excitedly 😃

Thread Thread
 
ghost profile image
Ghost

It runs as root on Windows and Mac too but in a VM seperated from the
host OS. So ironically it's secure on every OS except the one that enables
it's technology to work. The Linux kernal.

And can't you run it in a VM in Linux, just like in Windows or Mac?

Thread Thread
 
nicekiwi profile image
Ezra Sharp

You can and that's what Docker Machine did without all the fuss (bugs aside). But manually exposing docker outside of the VM to your host is difficult and complex.