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

Image2Docker: Property "add" cannot be found in .ps1 script #78

Open
@ghost

Description

Hello,
I have not posted many times sorry if I am forgetting something:
Win10 PC
Docker v.18.09.02
The image2docker module has been installed. No errors copying the .vhd file from the original VM.

I am running the cmdlet:
ConvertTo-Dockerfile d-ImagePath C:\Template-Win2012DC.vhd -Artifact IIS -OutputPath c:\i2d2\iis2 -Verbose

I am getting this error below after the file has been mounted. I am the admin of the machine, I did remove the antivirus/firewalls (to check), and no user groups.

Any help would be greatly appreciated. Thank you!
.....................................................

Select-Object : Property "add" cannot be found.
At C:\Program Files\WindowsPowerShell\Modules\Image2Docker\1.8.5\Functions\Private\Artifacts\IIS\GetManifestFromApplica
tionHost.ps1:96 char:103

  • ... elect-Object -ExpandProperty Node | Select-Object -ExpandProperty add
  •                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidArgument: (handlers:PSObject) [Select-Object], PSArgumentException
    • FullyQualifiedErrorId : ExpandPropertyNotFound,Microsoft.PowerShell.Commands.SelectObjectCommand

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions