Updated uninstall.md

Corrected the uninstall command to make it copypasteable (it was missing a \ at the end of the volume argument) and also updated the expected output to include the WARN messages that will appear. Also corrected ordered list numbering (cosmetic only while editing)
This commit is contained in:
ntwrkguru 2016-10-26 08:58:37 -04:00 committed by GitHub
parent c79c339ed7
commit fe361fbce7
1 changed files with 9 additions and 6 deletions

View File

@ -36,16 +36,19 @@ You can also use flags to pass values to the uninstall command.
```none ```none
$ docker run --rm -it \ $ docker run --rm -it \
-v /var/run/docker.sock:/var/run/docker.sock -v /var/run/docker.sock:/var/run/docker.sock \
--name ucp \ --name ucp \
docker/ucp uninstall -i docker/ucp uninstall -i
INFO[0000] Were about to uninstall the local components for UCP ID: FEY4:M46O:7OUS:QQA4:HLR3:4HRD:IUTH:LC2W:QPRE:BLYH:UWEM:3TYV INFO[0000] Were about to uninstall the local components for UCP ID: FEY4:M46O:7OUS:QQA4:HLR3:4HRD:IUTH:LC2W:QPRE:BLYH:UWEM:3TYV
Do you want proceed with the uninstall? (y/n): y Do you want proceed with the uninstall? (y/n): y
INFO[0000] Removing UCP Containers WARN[0000] We detected a daemon advertisement configuration. Proceed with caution, as the daemon will require a restart. Press ctrl-c to cancel uninstall within 4 seconds.
INFO[0000] Removing UCP images INFO[0004] Removing UCP Containers
INFO[0005] Removing UCP volumes INFO[0005] Removing UCP images
WARN[0006] Configuration updated. You will have to manually restart the docker daemon for the changes to take effect.
WARN[0006] Engine discovery configuration removed. You will need to restart the daemon.
INFO[0010] Removing UCP volumes
``` ```
2. List the images remaining on the node. 2. List the images remaining on the node.
@ -71,7 +74,7 @@ You can also use flags to pass values to the uninstall command.
Deleted: sha256:93743d5df2362466e2fe116a677ec6a4b0091bd09e889abfc9109047fcfcdebf Deleted: sha256:93743d5df2362466e2fe116a677ec6a4b0091bd09e889abfc9109047fcfcdebf
``` ```
5. Restart the Docker daemon. 4. Restart the Docker daemon.
When you install or join a node, UCP configures the Docker engine on that When you install or join a node, UCP configures the Docker engine on that
node for multi-host networking. When uninstalling, the configuration is node for multi-host networking. When uninstalling, the configuration is
@ -84,7 +87,7 @@ You can also use flags to pass values to the uninstall command.
$ sudo service docker restart $ sudo service docker restart
``` ```
6. Confirm the node was removed from the cluster. 5. Confirm the node was removed from the cluster.
In the UCP web application, confirm the node is no longer listed. It In the UCP web application, confirm the node is no longer listed. It
might take a few minutes for UCP to stop listing that node. might take a few minutes for UCP to stop listing that node.