I've set up a nano server image with https://github.com/PowerShell/Win32-OpenSSH installed (following along with the workaround instructions in https://github.com/PowerShell/Win32-OpenSSH/issues/234 ) however I'm unable to install docker in the system. I'm not sure if the defect is because I'm performing the operations over ssh, or some other peculiarity, but the failure mode looks like the following:
% ssh -i /e2e/id_rsa docker@192.168.122.104 powershell
Windows PowerShell
Copyright (C) 2016 Microsoft Corporation. All rights reserved.
PS C:\Users\docker> Install-Module -Name DockerMsftProvider -Repository PSGallery -Force
Install-Module -Name DockerMsftProvider -Repository PSGallery -Force
Install-Module -Name DockerMsftProvider -Repository PSGallery -Force
y
y
y
PS C:\Users\docker> Install-Package -Name docker -ProviderName DockerMsftProvider
Install-Package -Name docker -ProviderName DockerMsftProvider
Install-Package -Name docker -ProviderName DockerMsftProvider
WARNING: Cannot find path
'C:\Users\docker\AppData\Local\Temp\DockerMsftProvider\DockerDefault_DockerSear
chIndex.json' because it does not exist.
WARNING: Save-HTTPItem: Bits Transfer failed. Job State: ExitCode =
-2147023651
Install-Package : No match was found for the specified search criteria and
package name 'docker'. Try Get-PackageSource to see all available registered
package sources.
At line:1 char:1
+ Install-Package -Name docker -ProviderName DockerMsftProvider
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Microsoft.Power....InstallPacka
ge:InstallPackage) [Install-Package], Exception
+ FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.Pac
kageManagement.Cmdlets.InstallPackage
PS C:\Users\docker> dir
dir
dir
Directory: C:\Users\docker
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 4/1/2017 8:46 AM .ssh
d----- 4/1/2017 8:48 AM Documents
The first command spits out output about needing to install NuGet onto the physical console, not over ssh, but if I type "y" blindly it proceeds to install, and appears to work, however the second command fails, and the AppData dir doesn't exist. The docker account is an admin.
I've set up a nano server image with https://github.com/PowerShell/Win32-OpenSSH installed (following along with the workaround instructions in https://github.com/PowerShell/Win32-OpenSSH/issues/234 ) however I'm unable to install docker in the system. I'm not sure if the defect is because I'm performing the operations over ssh, or some other peculiarity, but the failure mode looks like the following:
The first command spits out output about needing to install NuGet onto the physical console, not over ssh, but if I type "y" blindly it proceeds to install, and appears to work, however the second command fails, and the AppData dir doesn't exist. The
docker
account is an admin.