You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 11, 2020. It is now read-only.
With this example we will be mounting a VHDX for a Virtual Machine called WebServer and the image will be mounted at the C:\Image\ location. We have specified that we want to only return the IIS Artifact from this machine so this will only perform the discovery of IIS related items and will output the required items to the OutputPath directory which in this case we have specified this to be C:\Docker\IIS\ and we will return all verbose output when running this command.
With this example we will be mounting a VHDX for a Virtual Machine called WebServer.
47
+
As we have not specifiec a MountPath the Image will be mounted into a folder in the Temp path location and will be removed when this command finishes.
48
+
As we have not specified a specific Artifact from this machine, this function will return artifacts for all of the available artifacts that this tool can attempt to discover and will output the required items to the OutputPath directory which in this case we have specified this to be C:\Docker\WebServer\
With this example we will be mounting a VHDX for a Virtual Machine called WebServer.
55
+
As we have not specifiec a MountPath the Image will be mounted into a folder in the Temp path location and will be removed when this command finishes.
56
+
57
+
As we have not specified a specific Artifact from this machine, this function will return artifacts for all of the available artifacts that this tool can attempt to discover and as we have not specified an OutputPath this command will create a folder in the $env:temp folder where all of the artifacts, required files and the resulting Dockerfile will be output to.
With this example we will be mounting a VHDX for a Virtual Machine called WebServer and the image will be mounted at the C:\Image\ location.
64
+
We have specified that we want to only return the IIS_SingleApp Artifact and for this we have provided the name of the WebApp that we want to return via the ArtifactParam Parameter, in this case we have specified that we want to return the 'Default Web Site' that is created when the IIS feature is activated on a new server.
65
+
66
+
We have also specified the Force Parameter which will remove any existing files and folders that are in the OutputPath directory and will reuse this directory for the output from this command.
22
67
23
-
.PARAMETERMountPath
24
-
The filesystem path to the directory where the image will be mounted to for discovery.
Copy file name to clipboardExpand all lines: Image2Docker.psd1
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
#
2
-
# Module manifest for module 'DockerMigrate'
2
+
# Module manifest for module Image2Docker
3
3
#
4
-
# Generated by: TrevorSullivan
4
+
# Generated by: Docker
5
5
#
6
6
# Generated on: 8/29/2016
7
7
#
@@ -12,7 +12,7 @@
12
12
RootModule='Image2Docker.psm1'
13
13
14
14
# Version number of this module.
15
-
ModuleVersion='1.5'
15
+
ModuleVersion='1.5.1'
16
16
17
17
# Supported PSEditions
18
18
### NOTE: This module will not work with PowerShell Core.
@@ -25,13 +25,13 @@ ModuleVersion = '1.5'
25
25
GUID='93adf15e-4b53-4f7b-9954-a86011c8ce55'
26
26
27
27
# Author of this module
28
-
Author='Trevor Sullivan <trevor@artofshell.com>'
28
+
Author='Docker'
29
29
30
30
# Company or vendor of this module
31
31
CompanyName='Docker Inc.'
32
32
33
33
# Copyright statement for this module
34
-
Copyright='(c) 2016 TrevorSullivan. All rights reserved.'
34
+
Copyright='(c) 2016 Docker Inc. All rights reserved.'
35
35
36
36
# Description of the functionality provided by this module
37
37
Description='Performs inspection of artifacts in a valid Windows Server 2012 or Windows Server 2012 R2 WIM or VHDX image and emit a Dockerfile to build the image with.
@@ -105,13 +105,13 @@ PrivateData = @{
105
105
PSData=@{
106
106
107
107
# Tags applied to this module. These help with module discovery in online galleries.
0 commit comments