mirror of https://github.com/docker/docs.git
use the docker provider to install docker (#4717)
* use the docker provider to install docker * Fix typo
This commit is contained in:
parent
6db50d4591
commit
c361c516fa
|
@ -33,22 +33,11 @@ full list of prerequisites.
|
|||
1. Open a PowerShell command prompt, and type the following commands.
|
||||
|
||||
```ps
|
||||
PS> Install-Module -Name DockerMsftProvider -Force
|
||||
PS> Unregister-PackageSource -ProviderName DockerMsftProvider -Name DockerDefault -Erroraction Ignore
|
||||
PS> Register-PackageSource -ProviderName DockerMsftProvider -Name Docker -Location https://download.docker.com/components/engine/windows-server/index.json
|
||||
PS> Install-Package -Name docker -ProviderName DockerMsftProvider -Source Docker -Force
|
||||
PS> Restart-Computer -Force
|
||||
Install-Module DockerProvider -Force
|
||||
Install-Package Docker -ProviderName DockerProvider -Force
|
||||
```
|
||||
2. Update your Windows configuration.
|
||||
|
||||
```ps
|
||||
PS> sconfig
|
||||
```
|
||||
|
||||
Select option `6) Download and Install Updates`. Swarm requires update [KB4015217](
|
||||
https://support.microsoft.com/en-us/help/4015217/windows-10-update-kb4015217)
|
||||
|
||||
3. Test your Docker EE installation by running the `hello-world` container.
|
||||
2. Test your Docker EE installation by running the `hello-world` container.
|
||||
|
||||
```ps
|
||||
PS> docker container run hello-world:nanoserver
|
||||
|
@ -67,6 +56,16 @@ full list of prerequisites.
|
|||
<snip>
|
||||
```
|
||||
|
||||
### (optional) Make sure you have all required updates
|
||||
|
||||
Some advanced Docker features (like Swarm) require that Windows is updated to include the fixes in [KB4015217](https://support.microsoft.com/en-us/help/4015217/windows-10-update-kb4015217) (or a later cumulative patch).
|
||||
|
||||
```ps
|
||||
PS> sconfig
|
||||
```
|
||||
|
||||
Select option `6) Download and Install Updates`.
|
||||
|
||||
## Use a script to install Docker EE
|
||||
|
||||
Use the following steps when you want to install manually, script automated
|
||||
|
|
Loading…
Reference in New Issue