Názor k článku
PowerShell nově spustíte i v Linuxu a na macOS od asdf123 - # docker run -it microsoft/power­shell Unable to find image...

  • Článek je starý, nové názory již nelze přidávat.
  • 17. 1. 2018 17:34

    asdf123 (neregistrovaný)

    # docker run -it microsoft/power­shell
    Unable to find image 'microsoft/po­wershell:lates­t' locally
    latest: Pulling from microsoft/power­shell
    50aff78429b1: Pull complete
    f6d82e297bce: Pull complete
    275abb2c8a6f: Pull complete
    9f15a39356d6: Pull complete
    fc0342a94c89: Pull complete
    f1069417b466: Pull complete
    763f70bbec53: Pull complete
    d4fcc60c4985: Pull complete
    46c69e266a43: Pull complete
    f95fd9e314e8: Pull complete
    Digest: sha256:8aca07be645a68­d8a6f89695192f95cf5ff352­9f06048f2b84d188667d6ef­b1d
    Status: Downloaded newer image for microsoft/power­shell:latest
    PowerShell v6.0.0
    Copyright (c) Microsoft Corporation. All rights reserved.

    https://aka.ms/pscore6-docs
    Type 'help' to get help.

    PS /> help
    Get-Command : The term 'less' 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 line:16 char:21
    + $moreCommand = (Get-Command -CommandType Application less | Selec ...
    + ~~~~~~~~~~~~~­~~~~~~~~~~~~~~~~~~~~~~~~­~~~~
    + CategoryInfo : ObjectNotFound: (less:String) [Get-Command], CommandNotFou­ndException
    + FullyQualifie­dErrorId : CommandNotFou­ndException,Mi­crosoft.Power­Shell.Commands­.GetCommandCom­mand

    The expression after '&' in a pipeline element produced an object that was not valid. It must result in a command name, a script block, or a CommandInfo object.
    At line:23 char:21
    + } else { $input | & $moreCommand }
    + ~~~~~~~~~~~~
    + CategoryInfo : InvalidOperation: (:) [], RuntimeException
    + FullyQualifie­dErrorId : BadExpression

    :D ani help im tam nefunguje