Slashdot Mirror


Containers or Virtual Machines: Which is More Secure? (zdnet.com)

Are virtual machines (VM) more secure than containers? You may think you know the answer, but IBM Research has found containers can be as secure, or more secure, than VMs. From a report: James Bottomley, an IBM Research Distinguished Engineer and top Linux kernel developer, writes: "One of the biggest problems with the current debate about Container vs Hypervisor security is that no-one has actually developed a way of measuring security, so the debate is all in qualitative terms (hypervisors 'feel' more secure than containers because of the interface breadth) but no-one actually has done a quantitative comparison." To meet this need, Bottomley created Horizontal Attack Profile (HAP), designed to describe system security in a way that it can be objectively measured. Bottomley has discovered that "a Docker container with a well crafted seccomp profile (which blocks unexpected system calls) provides roughly equivalent security to a hypervisor."

90 comments

  1. Jails? by 0100010001010011 · · Score: 3, Informative

    No jails?

    1. Re:Jails? by Anonymous Coward · · Score: 0

      There are no jails. It has always been called a "chroot"

    2. Re:Jails? by Anonymous Coward · · Score: 2, Interesting

      Jails on ZFS. Nothing better. Unless, of course, you can afford an IBM Z-series mainframe.

    3. Re:Jails? by Anonymous Coward · · Score: 0

      Huh? Ever use FreeBSD? jails, do, in fact, exist.

    4. Re:Jails? by Anonymous+Brave+Guy · · Score: 4, Insightful

      chroot is to security as RAID is to backups.

      --
      If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
    5. Re:Jails? by Anonymous Coward · · Score: 0

      There are no jails.

      Only choices.

    6. Re: Jails? by Anonymous Coward · · Score: 0

      No comma before do.

    7. Re:Jails? by Anonymous Coward · · Score: 0

      Solaris Zones ?
      Beats the S out of jails and containers.

      @joyent you can even run docker containers in a solaris zone.

    8. Re:Jails? by ctilsie242 · · Score: 2

      AIX LPARs come to mind as well. In fact, I remember the IBM guys saying that not using PowerVM would have less performance than using a LPAR and two VIO servers (trust me... you want two for redundancy.)

      I have never read about a leak out of a LPAR, so IBM did something right.

      Do I consider virtualization more secure than containers? If a VM corrupts its own filesystem, you can just toss the VM and rebuild. If a container shits the bed somehow, it can affect the host machine's filesystem, especially if there is no way to set file size and inode limits. Same with jails. Without limits, a process can burn up all available inodes or disk space, or just do heavy I/O to bog down a machine, while with VMs, if vCPUs are allocated right, that is limited.

    9. Re:Jails? by gweihir · · Score: 1

      You can to backups with RAID though, for example removing a drive from RAID1, and keeping that one as backup. But the RAID is just the tool here, it is not the backup and does not do backups by itself.

      In the same way, chroot can be part of a security mechanism, but it does not absolve you from knowing what you are doing. Which is pretty much the real problem with security: Too many people that have no real clue what they are doing with regards to security. Unless that is fixed, software will remain insecure. It is not a problem technology can fix, despite a whole lot of misguided attempts to do so. In the end the next security hype just makes management hire even more clueless and cheaper "coders", because they are now protected by magic technology xyz, right?

      There is no replacement for insight, understanding and experience in engineering. The problem with security is that you can still have a working product when security sucks. This means even more insight, understanding and experience is needed to get it right.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    10. Re:Jails? by Anonymous Coward · · Score: 0

      The Faraday cage kind of jail.

  2. mayor container developer says containers are secu by Anonymous Coward · · Score: 3, Insightful

    should we be surprised?

    Btw almost no one maintains good seccomp profiles, it is too cumbersome.

    VMs give you better out of the box security than out of the box containers, and he probably knows it.

  3. Solaris zones? by Anonymous Coward · · Score: 0

    Why not put that as an option? ;-)

    1. Re: Solaris zones? by Anonymous Coward · · Score: 2, Funny

      Because this article is talking about things people use

    2. Re:Solaris zones? by Desler · · Score: 2

      Because most people dumped Solaris more than a decade ago?

    3. Re:Solaris zones? by darkain · · Score: 1

      Or how about a virtual machine hypervisor running within a Solaris zone? Because this is what SmartOS does for its hypervisor.

    4. Re:Solaris zones? by Cramer · · Score: 1

      Not entirely. I still run across the odd solaris 7/8/9 system from time to time. I still run one myself. You don't fuck with what isn't broken; there hasn't been a need to replace it, although it has been discussed. (maybe should based entirely on the power bill)

      (I have several systems standing by for testing and troubleshooting whatever might come across my desk. But they aren't actually on.)

    5. Re:Solaris zones? by Anonymous Coward · · Score: 0

      The key phrase is "most people." I work at SAP and we dumped Solaris internally, including cloud deployments. We still support Solaris for on-premise deployments in older software products, but this is for a small percentage of our customer base. In the single digits. None of the cloud products were developed for Solaris. It is a Linux world out there and for SAP that means SLES or RHEL.

    6. Re:Solaris zones? by Desler · · Score: 1

      Not entirely.

      Not entirely what? Re-read my post. I didn't say everyone dumped Solaris, but Solaris was relegated to niche status by most people long ago. There's a good reason Sun made OpenSolaris 13 years ago and it wasn't because they had tons of paying customers.

    7. Re:Solaris zones? by Cramer · · Score: 1

      Because most people dumped Solaris more than a decade ago?

      "Not entirely" as in [in my experience] many former solaris shops still have bits of solaris remaining. It wasn't "dumped", but incrementally replaced over the years. (solaris 10 was the real kick-in-the-ass to start moving... SMF, the systemD of the Solaris world.)

      OpenSolaris was as much a marketing ploy as it was a means to remain relevant -- "Open Source" being the trendy new buzz word / business model. You could already get solaris for free -- for "non-commercial" use. (surprisingly, even under the infinite greed of Oracle, solaris is still available for free.) Sun was the only source for sparc hardware to run the OS, so they already had your money. (solaris/x86 never had much of a software market)

      (Sure, anyone running x86 hardware is far better off moving to linux or even windows. The few solaris/x86 installs I knew were moved to linux and windows.)

    8. Re:Solaris zones? by Anonymous Coward · · Score: 0

      Why run smartos when you can have a crappy linux os with a crappy container implementation that's made up from duct tape and tie-wraps ?

      There's no fun in something that is rock solid, let's you run solaris containers, linux dockers, full linux os or kvm VM's.

  4. "container with a well crafted seccomp profile" by Anonymous Coward · · Score: 5, Insightful

    "a Docker container with a well crafted seccomp profile (which blocks unexpected system calls) provides roughly equivalent security to a hypervisor."

    Hypervisor it is, then!

    Seriously - if your security depends on something being "well crafted", you might as well have no security - because eventually, it won't be "well crafted" - somebody will screw it up.

    1. Re:"container with a well crafted seccomp profile" by Spazmania · · Score: 4, Insightful

      VMs and Containers (e.g. Docker) are exactly as secure as the software you install inside of them.

      Most developers who like containers like them because they don't have to use the OS versions of Apache or whatever and aren't stuck dealing with the sysadmin constantly breaking things with his security updates.

      The containers these developers build tend to be woefully insecure.

      --
      Moderating "-1, Disagree" is simple censorship. Have the guts to post your opinion.
    2. Re:"container with a well crafted seccomp profile" by Anonymous Coward · · Score: 0

      You're saying hypervisors don't need to be well crafted to be secure?

    3. Re:"container with a well crafted seccomp profile" by Anonymous+Brave+Guy · · Score: 2

      That cuts both ways, though: one useful thing about containers is that I can test new versions and security updates in relative safety on a separate container that is otherwise identical to production, prior to updating my main production containers.

      --
      If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
    4. Re:"container with a well crafted seccomp profile" by tk77 · · Score: 2

      The same can be done with VM's and automation. I do that now by spinning up a new VM with all the updates I want to test and then using automation tools (in my case, saltstack) to set it up exactly the same as my production VM (with any additional changes, if necessary). It takes a bunch of initial work in configuring the automation but once its there, its pretty easy to maintain.

      Quite often when there's a lot of changes, rather then updating the production VM's, I'll just set up all new ones (via the same automation scripts) and flip over to using those and shut the old ones down.

      I initially started using automation as a temporary way to keep sanity in maintaining many VM's, while looking into migrating to Docker. However, it wound up working so well, I just stuck with it.

    5. Re:"container with a well crafted seccomp profile" by Anonymous Coward · · Score: 0

      Um... configuring your setup properly to make it more secure is literally something you have to do in any environment. Virtually nothing is secure out of the box.

    6. Re:"container with a well crafted seccomp profile" by Anonymous Coward · · Score: 0

      Most developers who like containers like them because they don't have to use the OS versions of Apache or whatever and aren't stuck dealing with the sysadmin constantly breaking things with his security updates.

      And most sysadmins like containers because they keep bleeding edge, untested, non-production-worthy shitware off the bare metal, while simultaneously shutting developers the fuck up about the same.

      Truly a match made in heaven.

    7. Re:"container with a well crafted seccomp profile" by Spazmania · · Score: 2

      Indeed. Those system administrators are failures too, all but begging for hackers to get a toehold inside their main security perimeter.

      --
      Moderating "-1, Disagree" is simple censorship. Have the guts to post your opinion.
    8. Re:"container with a well crafted seccomp profile" by gweihir · · Score: 1

      Your security always depends on something being "well crafted", namely your application software. Everything else is just fools trying to patch their bad software engineering in ways that do not really work.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  5. Answer by 110010001000 · · Score: 5, Insightful

    Answer: Neither. Intels CPU bugs have made it possible to break both.

    1. Re:Answer by barc0001 · · Score: 1

      Not break. Steal data from an adjacent one? Yes. And even then it's a bit of a crapshoot as to what you get, not at all the same as busting in and taking what you want.

    2. Re:Answer by 110010001000 · · Score: 1

      That is what "break" means in this context ("break out" from container/VM)

    3. Re:Answer by Anonymous Coward · · Score: 0

      Not break. Steal data from an adjacent one? Yes.

      What else is there of value?

      Stealing data seems like the big deal.

    4. Re:Answer by Anonymous Coward · · Score: 0

      Intel CPU bugs is one vector of attack which is fairly difficult to use. Were there any reports about actual breaches? Not proof of concept made in laboratory under ideal conditions?

      Even if they are both vulnerable, it doesn't make them equally vulnerable to other attacks, so "neither" can't be true.

      If hacker uses CPU bugs, breaking out of VM into upper host OS vs breaking out of container is much more challenging. For one thing, upper host may use different OS.

  6. Container in a vm in a chroot by Anonymous Coward · · Score: 0

    All running inside a universe in a universe.

  7. Bad Editing Again ... by Anonymous Coward · · Score: 1

    Where exactly does it say, "or more secure" Mr. Editor?

    Not knocking article itself arguing the potential gains in container security possibly on-par with virtualization, but the extra crap step of modern Slashdot editors.

  8. Containers by definition are not more secure... by snapsnap · · Score: 4, Insightful

    than virtual machines. Why is this even a question?

    1. Re:Containers by definition are not more secure... by Anonymous Coward · · Score: 1

      A vm should be more secure since they have to use CPU-level features to provide protection. A container trusts software more than hardware, so of course they're less secure.

    2. Re:Containers by definition are not more secure... by Anonymous Coward · · Score: 0

      "I'm going to leave this guard dog to make sure you don't enter that door, and then I'm going to listen for the dog to bark. No, there's no lock. Please don't pet the dog or give it peanut butter."

    3. Re:Containers by definition are not more secure... by Anonymous Coward · · Score: 0

      It's all protected-mode software running directly on the hardware, and if you find a weakness in the protection, it's game over for both "OS kernel" and "hypervisor".

      There's nothing special in how a "hypervisor" manages resources; it's doing exactly the same things an "OS" kernel does, and it does them in exactly the same way.

      A "Type-1" hypervisor (Xen, ESx, and so on) is yet another microkernel. The "VM" is just yet another userspace process, often acting as a microkernel "server" -- albeit a bloated, multipurpose one.

      A "Type-2" hypervisor uses the OS kernel, and the "VM" is as just another userspace process.

      The difference between the type-1 and type-2 hypervisors is largely an illusion -- both end up with one true kernel, and the "VM's" are a userspace process, whether they know it or not.

    4. Re:Containers by definition are not more secure... by Anonymous Coward · · Score: 0

      That makes no sense.

      On x86, a VM is software, and is invariably a userspace process.

      The "virtualization instructions" for x86_64 (AMD-V, or Intel's VT-x) are not unlike using a GPU instead of software rendering to a frame buffer -- it's faster than doing the same thing in software. They don't provide any new protections, only speed.

    5. Re:Containers by definition are not more secure... by gweihir · · Score: 1

      Not necessarily and very much not "by definition". You overlook KISS here. VMs are complex and offer a nice, large attack surface all by themselves. A container can very well be more secure, for example if the hypervisor creates attack vectors not present in a container running on a proper, non-virtualized system.

      Now, I am not saying this is always the case or even regularly. But the question does not have a simple answer.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    6. Re:Containers by definition are not more secure... by gweihir · · Score: 1

      Unless said CPU-level features have bugs themselves. Like, I don't know, Specter? A kernel running containers may well mitigate that, but a VM layer may negate that mitigation again.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    7. Re:Containers by definition are not more secure... by Anonymous Coward · · Score: 0

      What a load of crap. Anyway you could run a container inside your VM if you really think your container is more secure, and let your sysadmin sleep at night.

  9. or? by Anonymous Coward · · Score: 0

    That's why I always run my containers in VMs!

  10. old apple ][ computers by Anonymous Coward · · Score: 0

    i'd be interested in knowing whether or not there is spy ware in the hardware but with things like contiki you can still push old tech quite far.

    with new tech all i hear is crying about back doors, privacy/security issues, what have you.

    old apple computers function great, they may need a little getting used to but they are solid. i've yet to encounter some type of segfault, hard lock, or other type of failure. data on old floppy disks remain intact like a precious diamond for years and years, unlike the crappy quality from the PC/MSDOS days.

    other than possible TEMPEST attacks, i'd like to read anything from a researcher proving other attacks (and in addition, comparable to modern systems) against old apple computers.

    I don't mean Macs. No OSX, nothing, I mean old Apple computers like Apple ][e.

    Previously on /.:
    Contiki for Internet-enabled Apple II

  11. Re: Containers by definition are not more secure.. by Anonymous Coward · · Score: 0

    Youâ(TM)re right with the why is this even a question part. Of course a real vm is more secure than a container.

  12. What good are containers? by Anonymous Coward · · Score: 0

    Beyond a deployment convenience, I mean.

  13. contain this by Anonymous Coward · · Score: 0

    Is it a container/vmware device you build where you know everything or one a vendor provides that says its secure.

  14. Re:mayor container developer says containers are s by lgw · · Score: 1

    Btw almost no one maintains good seccomp profiles, it is too cumbersome.

    VMs give you better out of the box security than out of the box containers, and he probably knows it.

    More to the point, a container running on a VM is quite obviously less secure than directly running on the VM. If you're running on someone else's hardware (cloud etc), then your choices are VM or container-in-a-VM, so that's pretty obvious. If you're running on your own hardware, then it's a pretty odd security concern to be very worried about either breach.

    --
    Socialism: a lie told by totalitarians and believed by fools.
  15. Re:mayor container developer says containers are s by bws111 · · Score: 1

    Yeah, what does IBM know about VMs? They've only had VM products for about 50 years.

  16. This. I'll have real-world data next month by raymorris · · Score: 5, Interesting

    Exactly. An ideal container, perfectly configured and perfectly implemented, with a more-secure but less- convenient settings, would be -
    Well it would be non-existent, because shit ain't perfect. If things in the real world were perfect, security wouldn't be much of an issue.

    I'll have hard data in real-world containers and VMs next month. My company (Alert Logic) just released a suite of security services for containers so we will be able to tell exactly how often, and in which ways, our customers actual containers are breached, and what vulnerabilities they actually have. I can cross-reference that data with VMs in my database.

    Based on decades of experience, I expect the data will show that VMs are more secure. I also expect the data will show that what you put IN the container or VM is far more important than whether you put it in a VM or container. Stupid in a VM is stupid, stupid in a container is stupid. Containers can use less RAM, though.

    Someone mentioned chroot, which is the basic system call behind containers. Chroot is not a security tool. Chroot was not designed for security. Chroot does not provide security of any kind. Leaving chroot is as simple as chrooting again:

    mkdir foo; chroot foo; cd ..

    Chroot is useful for cross-compiling and certain other tasks related to developing software. It was created for the purpose of compiling and testing BSD4.2 before it was ready for release. Bill's machine ran 4.1, he could switch to 4.2 versions of the files by running chroot. (And could go back to the 4.1 system by simply running chroot again)

    1. Re: This. I'll have real-world data next month by corychristison · · Score: 1

      Only thing I've ever really used chroot for is installing Funtoo linux via SystemRescueCD.

      Anyone who thinks it's meant for security needs a smack upside the head.

    2. Re:This. I'll have real-world data next month by Anonymous Coward · · Score: 0

      Huh?

      Once you chroot, you can’t “cd ..”. That’s kind of the whole point.

  17. None by Misagon · · Score: 2

    Systems such as containers, pledge, seccomp, jails, systrace variants, chroot etc. are all about restricting what otherwise would have been a process's ambient authority by plugging holes here and there until you can't find any more holes to plug. The problem is the holes that you don't find.

    Another approach is to do the opposite: start with the process having no authority and give it only explicit access to the specific interfaces of the specific objects it needs to do its job --- and nothing more.
    That is called Capability-based security and is IMHO the only fail-safe way to sandbox processes.
    Some of Unix's predecessors had capabilities, some even with special CPU support so that it did not hav emore overhead than shifting pointers, but it was one of those many things that were not included when the original Unix was written to work on off-the-shelf hardware.

    In recent years, a capabilities model has been added to BSDs and Linux in the form of the Capsicum project.
    The other day, I stumbled over the CloudABI system, which is a runtime environment that uses Capsicum for applications on cloud servers.
    With CloudABI your applications would be sandboxed just as safely as if they ran on virtual machines but without the overhead.

    The big drawback is that programs need to be rewritten for it. The idea is though that when rewriting a program for CloudABI you should mostly just have to change things to make it compile and run. This would entail quite a bit of gruntwork but it should be pretty much straightforward and therefore less error-prone than to tweak security policies for something like seccomp or SELinux.

    And BTW, chroot was never intended to be used for sandboxing.

    --
    "We mustn't be caught by surprise by our own advancing technology" -- Aldous Huxley
    1. Re:None by gweihir · · Score: 1

      Indeed. And on the other hand, write better software. There is a lot of things sandboxes cannot do, for example protecting the data the application works with. So use proper privilege separation and drop, use input validation, etc. and make very sure you understand what you are doing. Especially the last thing is the one thing that really helps and that is missing so often these days.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  18. The problem of VMs, by ReneR · · Score: 1

    is that they are HUGE, ..! A big maintenance effort, more lingering bugs, bigger attach surface, plenty of possibilities to hide nasty things. Containers are a much smaller thing to take a look in and review, keep updated etc.

    1. Re: The problem of VMs, by Anonymous Coward · · Score: 0

      Depends which guest OS you're using. VMs running custom tweaked minimal Linux can be smaller than some containers with too many bells and whistles.

    2. Re:The problem of VMs, by Anonymous Coward · · Score: 0

      So VMs are unlike your penis which is put to shame by a thumb tack.

    3. Re:The problem of VMs, by drinkypoo · · Score: 1

      BusyBox doesn't exactly add a lot of bloat. Stop running a full OS in your VMs.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  19. rowhammer, Spectre, meltdown by Anonymous Coward · · Score: 0

    There are working examples for both containers and VMs for some of the biggest security issues to date. You're fucked with either.

    I recommend you use dedicated hardware and minimize the number of services you install on said hardware. Isolate equipment through standard practices in networking.

  20. Re: "container with a well crafted seccomp profile by mapkinase · · Score: 1

    The notion of self-secure system stinks of utopia. First of all, security of complex system is not a static state it's a dynamic state of an eternal sword and shield fight

    --
    I do not believe in karma. "Funny"=-6. Do good and forbid evil. Yours, Oft-Offtopic Flamebaiting Troll.
  21. Theory by manu0601 · · Score: 1

    The approach described is pure theory, with bold assumptions such as uniform bug density. I am not sure the model can predict anything, and I am not even sure it fits existing experimental data.

    It is almost as useless as dark matter in cosmological models.

    1. Re:Theory by gweihir · · Score: 1

      Bug density is a somewhat useless metric for software quality. When it comes to security, it is utterly meaningless.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  22. VM's and VLAN's by t0qer · · Score: 1

    Surprised nobody has made this point yet.

    A VM can be set to run as a part of a VLAN, giving you a little extra bit of security.

    1. Re:VM's and VLAN's by gweihir · · Score: 1

      VLANs are not a security technology. They make managing a network easier, but as soon as you compromise one network device, you have access to everything. Proper isolation means different cables.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    2. Re:VM's and VLAN's by Anonymous Coward · · Score: 0

      VLANs with ACLs are tho.

  23. Re: mayor container developer says containers are by Anonymous Coward · · Score: 0

    Pretty much. Containers still rely on the underlying software and hardware to not be bad. VMâ(TM)s donâ(TM)t isolate everything unless you are only using the hyper visor to partition a single machine. As soon as network fabric is involved itâ(TM)s not any more secure than physical blades in a blade enclosure.

  24. VLANs are just suggestions, which can be ignored by Anonymous Coward · · Score: 0

    VLANs are just suggestions, which can be ignored if any traffic from other VLANs are on the same wire.

    VLANs don't provide security. They provide logical separation "suggestions" which can be ignored.

  25. Containers have come a long way since chroot... by williamyf · · Score: 1

    but still, are lacking in the security department.

    VMs in theory should be more secure, but in practice, Hypervisors are such huge behemoths that there are always security holes in the hypervisor.

    In reality, discussing the relative security between containers and VMs is like discussing how many angels can dance in the head of a pin, a futile excersice.

    the relative security will ebb and flow, some times in favour of VMs, sometimes in favour of Containers.

    But in the end, it will not matter, as we all will end up running our containers inside VMs, sacrificing some of the performance gains of containers for the HUUUGE sysadmin advantages of VMs.

    --
    *** Suerte a todos y Feliz dia!
  26. Re: mayor container developer says containers are by Anonymous Coward · · Score: 0

    If you're running on your own hardware, then it's a pretty odd security concern to be very worried about either breach.

  27. Re: mayor container developer says containers are by Anonymous Coward · · Score: 0

    "If you're running on your own hardware, then it's a pretty odd security concern to be very worried about either breach."

    Not quite so. In practice, you might want to run a subset of your applications and sensitive data in the VM. Each of your VMs might have a special purpose, each requiring only a subset of your data.

  28. Re: mayor container developer says containers are by lgw · · Score: 3, Insightful

    You're worried that hackers can get to one VM, but it's important that the other VM is super-secure, yet you don't run them on different hardware? Pretty odd.

    --
    Socialism: a lie told by totalitarians and believed by fools.
  29. Re:mayor container developer says containers are s by Anonymous Coward · · Score: 0

    Is that what you think about? You are probably gay. You lash out at people because you are old and befuddled and too slow to do any computer work today. Sad, really.

  30. Neither. Wrong tech. by gweihir · · Score: 1

    Containers and VMs are not really security tech. Nobody in their right mind would call using a dedicated machine a "security technology", VMs and Containers are not either. They serve to partition a machine and, to a limited degree, they can achieve that. But as soon as somebody breaks into a container or a VM, they can usually do what they want anyways, just the same as with a dedicated system: Send spam, hack other machines using the identity of the container of VM, steal local data, etc.

    What both containers and VMs give you is _less_ security compared to a dedicated machine, since in addition to all the normal security problems, you also get possible attacks on the isolation layer and on other containers or VMs running on the same hardware. That means overall, you are _less_ secure.

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  31. Re: Containers by definition are not more secure.. by phantomfive · · Score: 1

    Also, unless there are bugs in the software using the hardware, which there is

    --
    "First they came for the slanderers and i said nothing."
  32. Re: Containers by definition are not more secure.. by phantomfive · · Score: 1

    I will argue that in this case, there is a simple answer: both are insecure.

    --
    "First they came for the slanderers and i said nothing."
  33. Re: Containers by definition are not more secure.. by gweihir · · Score: 1

    Security, at least when done above amateur-level, is not black and white.

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  34. Proliferation of stupid by Anonymous Coward · · Score: 0

    Are people really so stupid to fall for all these promises and shiny infographics of individual containerization systems? Are people aware that systemd is not just a sysv init replacement, and that it exposes all the kernel's namespacing and containerization features through its simple API? Why would you need dockers, rockers, nablas, kuberneshits, ..., and a dog, when you can achieve all that, seccomp filtering included, with a service unit file? You can even use it with your own ostree if you really need that, via (among other options) RootDirectory option.

  35. CHROOT: Running Older software on New systems. by Anonymous Coward · · Score: 0

    CHROOT is also useful for running older software on newer systems.

    My Linux box died some years back. As in physically died. The motherboard failed. I replaced it, only to find my ancient 10+ year old Linux kernel couldn't handle the newest hardware. So I updated Linux. But then I had some problems migrating my MySQL (yes this was back before Sun sold to Oracle) data over to the updated version.

    So, boot of RedHat rescue image off the CD. Use dd to make a copy the old Linux partition onto a new drive. Mount. CHROOT to the copy of the ancient Linux boot partition. Now I could manually start the ancient version of mysqld from /etc/init.d under the latest kernel. And then export my data out.

    CHROOT was a lifesaver. So say nothing of backward compatibility in Linux on a scale that dwarfs the imagination.

  36. Try it. You can. Copy-paste. Same code as cd by raymorris · · Score: 2

    Try it. Copy and paste the commands. If you look, especially at old systems, you'll notice the code for chroot looks an awful lot like the code for cd. There's a reason for that.

    Cd changes which directory the "." alias points to, chroot changes which directory the "/" points to. Just as you can cd to change ".", then cd again to change it again, chroot works the same way. It's just about as "secure" as cd, because it's almost the same code.

  37. And you can end up with less reliability! by Anonymous Coward · · Score: 0

    We have a customer has a requirement for redundant servers. So he's going to run two in two vms in the same box. Great. Same cabling, same power supply, same cpu, same disk drives (probably) same memory. Wonderful.

  38. chroot, jails, kvm, ... by Anonymous Coward · · Score: 0

    Paravirtualization is faster and smoother than virtualization.

  39. Re:VLANs are just suggestions, which can be ignore by Anonymous Coward · · Score: 0

    Properly implemented VLANs can act as a course-grained ACL. The only valid VLANs on a port is whatever the port is tagged with. It's not like traffic on any port can just tag a frame as the management VLAN and gain access.