Skip to content
This repository was archived by the owner on Apr 28, 2018. It is now read-only.

Get Docker Module issue: Unable to register PS Repository on Debian distro #164

Open
yingjin-us opened this issue Nov 17, 2016 · 0 comments

Comments

@yingjin-us
Copy link

yingjin-us commented Nov 17, 2016

Output of $PSVersionTable (from a powershell process):

Name                           Value                                           
----                           -----                                           
PSVersion                      6.0.0-alpha                                     
PSEdition                      Core                                            
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                         
BuildVersion                   3.0.0.0                                         
GitCommitId                    v6.0.0-alpha.11                                 
CLRVersion                                                                     
WSManStackVersion              3.0                                             
PSRemotingProtocolVersion      2.3                                             
SerializationVersion           1.1.0.1                                         

Output of ipmo Docker; (module Docker).Version.ToString() (from a powershell process):

Wasn't able to Import Docker module yet due to Register-PSRespository cmdlet failure

Steps to reproduce the issue:

  1. Go to https://github.com/Microsoft/Docker-PowerShell
    2.Follow the instruction to get Docker module
    3.Get error message below when trying to run Register-PSRepository cmdlet
    Register-PSRepository : The specified Uri
    'https://ci.appveyor.com/nuget/docker-powershell-dev' for parameter
    'SourceLocation' is an invalid Web Uri. Please ensure that it meets the Web
    Uri requirements.
    At line:1 char:1
  • Register-PSRepository -Name DockerPS-Dev -SourceLocation https://ci.a ...
  •   + CategoryInfo          : InvalidArgument: (https://ci.appv...-powershell- 
     dev:String) [Register-PSRepository], ArgumentException
      + FullyQualifiedErrorId : InvalidWebUri,Register-PSRepository
    
    
    
    

What actually happened?:
Register-PSRepository : The specified Uri
'https://ci.appveyor.com/nuget/docker-powershell-dev' for parameter
'SourceLocation' is an invalid Web Uri. Please ensure that it meets the Web
Uri requirements.
At line:1 char:1

  • Register-PSRepository -Name DockerPS-Dev -SourceLocation https://ci.a ...
  •   + CategoryInfo          : InvalidArgument: (https://ci.appv...-powershell- 
     dev:String) [Register-PSRepository], ArgumentException
      + FullyQualifiedErrorId : InvalidWebUri,Register-PSRepository
    
    

What did you expect to happen?:
Register should be successful

Additional information:
The issue occurred on Debian distro
Linux kali 4.6.0-kali1-amd64 #1 SMP Debian 4.6.4-1kali1 (2016-07-21) x86_64 GNU/Linux

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant