RUN Install-Package -Name docker -ProviderName DockerMsftProvider -Verbose -Force
Results shows Error Below:
VERBOSE: Created 'C:\Program Files\docker\cli-plugins\docker-app.exe'.
VERBOSE: Created 'C:\Program Files\docker\cli-plugins\docker-cluster.exe'.
VERBOSE: Trying to enable the docker service...
VERBOSE: Removing the archive:
C:\Users\ContainerAdministrator\AppData\Local\Temp\DockerMsftProvider\Docker-19
-03-13.zip
WARNING: A restart is required to enable the containers feature. Please restart
your machine.
Install-Package : The request to add or remove features on the specified
server failed.
Installation of one or more roles, role services, or features failed.
The source files could not be found.
Use the "Source" option to specify the location of the files that are required
to restore the feature. For more information on specifying a source location,
see http://go.microsoft.com/fwlink/?LinkId=243077. Error: 0x800f081f
At line:1 char:1
When Running below command in docker container.
RUN
Install-Package -Name docker -ProviderName DockerMsftProvider -Verbose -ForceResults shows Error Below:
VERBOSE: Created 'C:\Program Files\docker\cli-plugins\docker-app.exe'. VERBOSE: Created 'C:\Program Files\docker\cli-plugins\docker-cluster.exe'. VERBOSE: Trying to enable the docker service... VERBOSE: Removing the archive: C:\Users\ContainerAdministrator\AppData\Local\Temp\DockerMsftProvider\Docker-19 -03-13.zip WARNING: A restart is required to enable the containers feature. Please restart your machine. Install-Package : The request to add or remove features on the specified server failed. Installation of one or more roles, role services, or features failed. The source files could not be found. Use the "Source" option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077. Error: 0x800f081f At line:1 char:1