Add uninstall UCP steps for Windows Server (#5154)

This commit is contained in:
Jim Galasyn 2017-10-27 15:55:20 -07:00 committed by GitHub
parent ed03eaa108
commit d73e595a7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 32 additions and 0 deletions

View File

@ -164,6 +164,38 @@ The `dockerd` service and the Windows environment are now configured to join a U
Node WIN-NOOQV2PJGTE is a Windows node that cannot connect to its local Docker daemon.
```
## Uninstall UCP from Windows Server
The following steps return the Docker Engine to its original configuration:
1. Unregister the docker service and register it again without the TLS
certificates:
```ps
Stop-Service docker
dockerd --unregister-service
dockerd -H npipe:// --register-service
Start-Service docker
```
2. Remove the `certs` directory for the docker service:
```ps
Remove-Item -Recurse C:\ProgramData\docker\daemoncerts
```
3. Remove the firewall rules:
```ps
netsh advfirewall firewall delete rule name="docker_2376_in"
netsh advfirewall firewall delete rule name="docker_12376_in"
netsh advfirewall firewall delete rule name="docker_2377_in"
netsh advfirewall firewall delete rule name="docker_4789_in"
netsh advfirewall firewall delete rule name="docker_4789_out"
netsh advfirewall firewall delete rule name="docker_7946_in"
netsh advfirewall firewall delete rule name="docker_7946_out"
```
## Windows nodes limitations
Some features are not yet supported on Windows nodes: