Skip to content

Throws Error on Install #81

@ghost

Description

When Running below command in docker container.

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

  • Install-Package -Name docker -ProviderName DockerMsftProvider -Verbos ...
  •   + CategoryInfo          : InvalidOperation: (@{Vhd=; Credent...Name=localh
     ost}:String) [Install-Package], Exception
      + FullyQualifiedErrorId : DISMAPI_Error__Failed_To_Enable_Updates,Microsof
     t.Windows.ServerManager.Commands.AddWindowsFeatureCommand,Microsoft.PowerS
    hell.PackageManagement.Cmdlets.InstallPackage
    

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