none
when do we use Server Containers and Hyper-V Containers? RRS feed

  • Question

    •  Server Containers is used in existing Virtual or Physical System;Hyper-V Containers is used in hyper-v

    what should i consider which one is confit me ?

    Thursday, March 10, 2016 6:41 AM

All replies

  • Think of a Server Container as a container that you run on top of a Server OS.  You have some OS, and you run the application in a Container.  Really fits that development scenario.

    Think of a Hyper-V Container as a DevOps or production deployment option.  You deploy that application and manage it running in its own isolation container on a Hyper-V Server.

    If you look at the history of Linux (lxc containers).  You only have the one option - you deploy a Linux OS, you then deploy containers on top of that.  That is the Server container model.  You can stick with that for familiarity.

    At this time there is no technical reason to use one over the other.  And frankly the Hyper-V Container is a unique thing in the Container world.  It is a totally unique deployment option.  So many folks ask the same question as yourself.


    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.

    Thursday, March 10, 2016 3:39 PM
    Moderator
  • To add to what BrianEh has said, Windows Server Containers all share the kernel of the OS they are on, so they are not completely isolated from each other. Hyper-V containers however are wrapped around a utility VM that makes them completely isolated. This is necessary say if you are in a hostile multitenant environment, and you want to make sure that your containers are safe. If you are not in such a situation where you are worried about your containers being attacked, you can use Windows Server Containers instead.

    Regards,
    Ender

    Tuesday, March 15, 2016 1:32 AM
    Moderator
  • This video demonstrates the isolation difference between the two:

    https://channel9.msdn.com/Blogs/containers/Container-Fundamentals--Part-5-Hyper-V-Containers

    neilp

     
    Tuesday, March 15, 2016 5:27 AM