Should prompt for restart after installing the Docker package.
Actual behavior
Cannot complete the install due to a SHA256 hash verifications that fails
Information
PS C:\Users\administrator.HOSTMATIC> Install-Package -Name docker -ProviderName DockerMsftProvider -verbose
VERBOSE: Importing package provider ‘DockerMsftProvider’.
VERBOSE: Using the provider ‘DockerMsftProvider’ for searching packages.
VERBOSE: Download size: 0MB
VERBOSE: Free space on the drive: 20572.73MB
VERBOSE: Downloading https://dockermsft.blob.core.windows.net/dockercontainer/DockerMsftIndex.json to
C:\Users\ADMINI~1.HOS\AppData\Local\Temp\DockerMsftProvider\DockerDefault_DockerSearchIndex.json
VERBOSE: About to download
VERBOSE: Finished downloading
VERBOSE: Downloaded in 0 hours, 0 minutes, 1 seconds.
VERBOSE: Performing the operation “Install Package” on target “Package ‘Docker’ version ‘1.12.2-cs2-ws-beta’ from
‘DockerDefault’.”.
The package(s) come(s) from a package source that is not marked as trusted.
Are you sure you want to install software from ‘DockerDefault’?
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is “N”): A
VERBOSE: Containers feature is already installed. Skipping the install.
VERBOSE: Verifying Hash of the downloaded file.
WARNING: Cannot verify the file SHA256. Deleting the file.
VERBOSE: Hash verified!
WARNING: C:\Users\ADMINI~1.HOS\AppData\Local\Temp\DockerMsftProvider\Docker-1-12-2-cs2-ws-beta.zip does not exist
Install-Package : Cannot find path ‘C:\Users\ADMINI~1.HOS\AppData\Local\Temp\DockerMsftProvider\Docker-1-12-2-cs2-ws-be
ta.zip’ because it does not exist.
At line:1 char:1
I’ve could’e have sworn that i replicated the same steps with the same SHA256 error as outcome. However i can confirm that your suggestion worked perfectly, and that i am now able to do a “Docker Version”.