Hyper-V Containers in Windows 10

Play Hyper-V Containers in Windows 10
Sign in to queue

Description

With the latest flights of Windows 10, we are bringing Hyper-V Containers natively into Windows 10. Developers can use Hyper-V Containers to build amazing cloud applications benefitting from native container capabilities, right in Windows 10.

In this video, Ender Barillas, Program Manager, will show you how to set up Hyper-V, the Containers feature, and Docker in your Windows 10 machine so that you can get started with Hyper-V Containers

Stay tuned on the Containers Channel for more episodes soon!

Embed

Download

The Discussion

  • User profile image
    artisticche​ese

    Why did you have to launch a separate CMD window to launch container instead of doing from main powershell window you already had open?

  • User profile image
    msdnpro

    @artisticchee​se, you're right.

    Ender, you can't have users start a task in one shell (powershell) and then complete the task in another shell (Windows command line). I want to automate this process by writing ONE script in either environment.

  • User profile image
    Norman Headlam

    I keep getting the following error

    Install-ContainerOSImage : The term 'Install-ContainerOSImage' is not recognized as the name of a
    cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was
    included, verify that the path is correct and try again.
    At C:\Program Files (x86)\WindowsPowerShell\Modules\ContainerImage\0.6.4.0\ContainerImage.psm1:502 char:5
    + Install-ContainerOSImage -WimPath $Destination `
    + ~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : ObjectNotFound: (Install-ContainerOSImage:String) [], CommandNotFoundExcep
    tion
    + FullyQualifiedErrorId : CommandNotFoundException

  • User profile image
    Hanhong Choi

    +1 to Norman

  • User profile image
    Rick F

    I'm signed up for Windows Insider updates now and am subscribed to have those types of updates downloaded but I still don't see "Containers" in my Windows Features list....

  • User profile image
    JoelFinkel

    +1 to Norman as well.  I found this useful comment: http://www.busydevelopers.com/article/44081342/%26quot%3BThe+term+'Install-ContainerOSImage'+is+not+recognized+as+the+name+of+a+cmdlet%26quot%3B+on+build+Build+14385

    And did this in PS:
    1) Start-BitsTransfer https://aka.ms/tp5/6b/docker/nanoserver -Destination nanoserver.tar.gz

    2)  wget -uri https://aka.ms/tp5/update-containerhost -Outfile c:\Update-ContainerHost.ps1

    3)  C:\Update-ContainerHost.ps1

    4)  C:\Update-ContainerHost.ps1  (again, b/c the first one failed with a file not found)

    5)  docker load -i nanoserver.tar.gz

    6) docker images

    7) docker tag 3a nanoserver:latest

    8) start cmd

    9) in the command window> docker run -it --isolation=hyperv nanoserver cmd

    Nothing happens, which is, at least, better than a BSOD

     

Add Your 2 Cents