News for hackers. Stuff that matters.
Re:High-process-count support added to master by majke on Tuesday August 15, 2017 @04:17PM (#15021983)
Welcome to the Docker revolution.

Historically it was hard to distribute software. You can't just copy over .elf files since these need dynamic libraries. Dependency hell is real, people invented .deb to solve many problems, but debs were always intended to be installed in global scope, making it hard to package user software.

Roll forward and nowadays with namespaces you can "containerize" also disk, which means shared libs. Docker images are a better delivery mechanism than raw elf files, or even debs. Hosting docker images is inherently cheaper than virtual machines. I think Heroku were first large service to realize that.

Re:High-process-count support added to master by throwaway613834 on Tuesday August 15, 2017 @04:54PM (#15022419)
I don't do Docker but from what I've heard it's not designed for security? Which means it wouldn't work for this scenario? Or am I misinformed?
Re:High-process-count support added to master by rdsubhas on Tuesday August 15, 2017 @05:54PM (#15023047)
Security without context is ambiguous and vague. To the parent comment - which asks about shipping and paying for "M" processes, docker is a reasonable (if not great) solution as container/namespace/process isolation are all, one way or another, sharing the same kernel and have mostly the same benefits/drawbacks.
Re:High-process-count support added to master by aarongolliver on Tuesday August 15, 2017 @07:22PM (#15023643)
I think "Security" in this context would roughly mean "able to run code from >1 user as securely (or more) than if they were running on separate VMs". Which AFAICT docker & linux cannot provide, but something like triton can.
Re:High-process-count support added to master by icebraining on Tuesday August 15, 2017 @05:02PM (#15022534)
Docker is just regular processes limited by a bunch of Linux kernel isolation mechanisms, which means that you're subject to potential kernel exploits, which would allow a "neighbor" container to run code outside the container and then control your own.

There are some ways of mitigating this, but the simplest one would be for the provider to run a VM for each container, then you get the security guarantees of regular VMs (though you still have to trust the provider to keep the OS up to date).

Re:High-process-count support added to master by marktangotango on Tuesday August 15, 2017 @05:50PM (#15023003)
Is a docker container simply a process or is it more heavy weight than that? It certainly can be, so isn't this characterization that it's merely a "process" a bit disingenuous?

https://unix.stackexchange.com/questions/216618/what-do-the-...

Re:High-process-count support added to master by icebraining on Tuesday August 15, 2017 @06:20PM (#15023244)
Processes, not process, and I was talking in terms of security, but even in terms of performance, yes, it mostly is. There are some Docker features that can be more expensive (NAT and layered filesystem), but they are optional. A "Docker container" itself is just a group of processes to which the kernel applies a different policy than the default.

I'm not sure what that link is supposed to show, can you be more clear?

Re:High-process-count support added to master by CyberDildonics on Tuesday August 15, 2017 @06:20PM (#15023246)
> I don't do Docker but from what I've heard it's not designed for security? Which means it wouldn't work for this scenario?

Are you asking if that's what you've heard?