Skip to content
This repository has been archived by the owner on Mar 11, 2020. It is now read-only.

RemotePath still work? #80

Open
cdenneen opened this issue Mar 2, 2020 · 0 comments
Open

RemotePath still work? #80

cdenneen opened this issue Mar 2, 2020 · 0 comments

Comments

@cdenneen
Copy link

cdenneen commented Mar 2, 2020

1.8.5

PS C:\share_folder> ConvertTo-Dockerfile -RemotePath \\10.1.10.10\c$ -OutputPath C:\share_folder\i2d\mysite -Artifact IIS
Get-ItemProperty : Cannot find path '\\10.1.10.10\c$\windows\system32\hal.dll' because it does not exist.
At C:\Program Files\WindowsPowerShell\Modules\Image2Docker\1.8.5\Functions\Public\ConvertTo\ConvertTo-Dockerfile.ps1:136 char:21
+ ... $version = (Get-ItemProperty -Path "$RemotePath\windows\system32\hal. ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (\\10.1.10.10\c...ystem32\hal.dll:String) [Get-ItemProperty], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetItemPropertyCommand

You cannot call a method on a null-valued expression.
At C:\Program Files\WindowsPowerShell\Modules\Image2Docker\1.8.5\Functions\Public\ConvertTo\ConvertTo-Dockerfile.ps1:137 char:9
+         $ImageWindowsVersion = $version.Substring(0, $version.IndexOf ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

DiscoverArtifacts : Cannot bind argument to parameter 'ImageWindowsVersion' because it is an empty string.
At C:\Program
Files\WindowsPowerShell\Modules\Image2Docker\1.8.5\Functions\Public\ConvertTo\ConvertTo-Dockerfile.ps1:172 char:118
+ ... act -OutputPath $OutputPath -ImageWindowsVersion $ImageWindowsVersion
+                                                      ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [DiscoverArtifacts], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorEmptyStringNotAllowed,DiscoverArtifacts

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