microsoft / containers-toolkit

Containers-Toolkit is a Windows PowerShell module for downloading, installing, and setting up default configs for Containerd, BuildKit, Windows CNI plugin, and nerdctl.
MIT License
16 stars 9 forks source link

[Fix] Install when version is provided with leading 'v' #19

Closed TinaMor closed 5 months ago

TinaMor commented 5 months ago

What does this PR do?

  1. Fix install when version is provided with leading 'v'. The Install command fails if a user passes the version with "v1.0.0".
    Install-ContainerTools -NerdCTLVersion v1.7.2 -ContainerDVersion v1.6.4
  2. Confirm option not passed to uninstall commands
  3. Install-ContainerTools fails when Initialze-NatNetwork fails. Write-Error instead.