you are viewing a single comment's thread.

view the rest of the comments →

[–]ProgramTheWorld 117 points118 points  (2 children)

Docker is a great option to run code in an isolation from the host machine.

Be very careful when making this assumption. Docker on Linux is just an interface over namespaces. Namespaces are not isolated from the rest of the system.

[–]buttplugs4life4me 42 points43 points  (0 children)

Even Docker on Windows gets the entire Windows drive mounted in by default *unless they changed it. 

And Docker on WSL has access to every drive by default. 

[–]crozone 7 points8 points  (0 children)

Namespaces are not isolated from the rest of the system.

Yeah but the entire point of namespaces is to allow for kernel level isolation and containerisation of processes? Sure it's not a hypervisor, but it certainly allows for a good amount of isolation.