Package for Containers on windows

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  Salam ELIAS 8 months ago.

  • Author
    Posts
  • #61602

    Salam ELIAS
    Participant

    Hi, Can you please tell me whet is the command or how I can add containers powershell commands?
    I have setup Docker on win 10 correctly and it works fine, when issue
    Get-Command -Module Containers
    I get only
    CommandType Name Version Source
    ———– —- ——- ——
    Cmdlet Get-ContainerNetwork 1.0.0.0 Containers
    Cmdlet New-ContainerNetwork 1.0.0.0 Containers
    Cmdlet Remove-ContainerNetwork 1.0.0.0 Containers

    I watched a couple of videos and can see a lot more commands to manage containers
    Thanks

  • #61668

    Richard Siddaway
    Moderator

    There are no PowerShell cmdlets for working with Containers out of the box.

    Microsoft documentation is here – https://docs.microsoft.com/en-gb/virtualization/windowscontainers/about/

    Either use Docker which seems to be Microsoft's preferred answer or use the module from here – https://github.com/Microsoft/Docker-PowerShell which hasn't been updated since October 2016 but even then you'll need to install Docker

  • #62364

    Salam ELIAS
    Participant

    Thanks

You must be logged in to reply to this topic.