Запускаем Power Shell с админскими привилегиями
PS>Install-Module DockerMsftProvider -Force -Verbose
PS>Install-Package Docker -ProviderName DockerMsftProvider -Force -Verbose
возможно сообщение о том что невозможно удалить файл ... because it does not exist.
Запускаем редактор реестра
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Docker\ImagePath выглядит примерно так: C:\Program Files\Docker\dockerd.exe --run-service -H npipe:// -b
"none"
Перезагрузка
Пробуем:
PS C:\Windows\system32> docker container run hello-world:nanoserver
Unable to find image 'hello-world:nanoserver' locally
nanoserver: Pulling from library/hello-world
bce2fbc256ea: Pull complete
b0b5e40cb939: Pull complete
87377cdc7dd1: Pull complete
7d840042f15f: Pull complete
Digest: sha256:09084a40d44e22bd468beb17ca48a85f7b23c1ee07e68e7ea1df6827e38205f7
Status: Downloaded newer image for hello-world:nanoserver
Если увидим, то что ниже можно сказать, что почти все хорошо
Hello from Docker!
This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
3. The Docker daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it
to your terminal.
To try something more ambitious, you can run a Windows Server container with:
PS C:\> docker run -it microsoft/windowsservercore powershell
Share images, automate workflows, and more with a free Docker ID:
https://cloud.docker.com/
For more examples and ideas, visit:
https://docs.docker.com/engine/userguide/
Ссылки:
https://docs.docker.com/engine/installation/windows/docker-ee/#install-docker-ee
https://github.com/OneGet/MicrosoftDockerProvider/issues/15#issuecomment-269219021