Package for Containers on windows

Welcome Forums General PowerShell Q&A Package for Containers on windows

This topic contains 2 replies, has 2 voices, and was last updated by

 
Participant
1 year, 10 months ago.

  • Author
    Posts
  • #61602

    Participant
    Points: 21
    Rank: Member

    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

    Participant
    Points: 0
    Rank: Member

    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

    Participant
    Points: 21
    Rank: Member

    Thanks

The topic ‘Package for Containers on windows’ is closed to new replies.