docker-archive / communitytools-image2docker-win

305 stars 78 forks source link

Cannot run #8

Closed friism closed 8 years ago

friism commented 8 years ago

Logging for reference, it appears to not actually mount. This is in admin prompt:

> ConvertTo-Dockerfile -Verbose -ImagePath "C:\tmp\lift-tool\RTM\Virtual Hard Disks\RTM.vhdx" -OutputPath "c:\tmp\out" -MountPath "c:\tmp\mnt" -Artifact IIS
C:\Program Files\WindowsPowerShell\Modules\Image2Docker\1.2\Artifacts\IIS\Discover.ps1 : Cannot bind argument to
parameter 'MountPath' because it is an empty string.
At C:\Program Files\WindowsPowerShell\Modules\Image2Docker\1.2\Functions\Private\DiscoverArtifacts.ps1:18 char:63
+ ...     . $DiscoveryScript -OutputPath $OutputPath -MountPath $Mount.Path
+                                                               ~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Discover.ps1], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,Discover.ps1