OneGet / MicrosoftDockerProvider

Provider to search, save and install Docker
Other
135 stars 56 forks source link

Following instructions does not import module, could be because I'm nooby and assumptions made in instructions #80

Closed ghost closed 3 years ago

ghost commented 3 years ago

I'm trying to install this into a docker image, because I wan't to setup a docker in docker image.

Anyways, I Cloned repo and copied source into the image then executed

RUN Import-Module -Name DockerMsftProvider -Force

ERROR Below: Import-Module : The specified module 'DockerMsftProvider' was not loaded because no valid module file was found in any module directory.

I tried copying it into the root folder and sub directory called DockerMsftProvider

How do I install this?

ghost commented 3 years ago

This is what I had to do...

RUN Install-PackageProvider -Name NuGet -Force RUN Install-Module -Name DockerMsftProvider -Force RUN Import-Module -Name DockerMsftProvider -Force

I'm not sure if it's correct, but something seemed to work