From fe361fbce7536beba569a143e37febc20fb70f05 Mon Sep 17 00:00:00 2001 From: ntwrkguru Date: Wed, 26 Oct 2016 08:58:37 -0400 Subject: [PATCH] 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) --- ucp/installation/uninstall.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/ucp/installation/uninstall.md b/ucp/installation/uninstall.md index d375e6bd47..563a1d21c1 100644 --- a/ucp/installation/uninstall.md +++ b/ucp/installation/uninstall.md @@ -36,16 +36,19 @@ You can also use flags to pass values to the uninstall command. ```none $ docker run --rm -it \ - -v /var/run/docker.sock:/var/run/docker.sock + -v /var/run/docker.sock:/var/run/docker.sock \ --name ucp \ 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 Do you want proceed with the uninstall? (y/n): y - INFO[0000] Removing UCP Containers - INFO[0000] Removing UCP images - INFO[0005] Removing UCP volumes + 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[0004] Removing UCP Containers + 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. @@ -71,7 +74,7 @@ You can also use flags to pass values to the uninstall command. 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 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 ``` -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 might take a few minutes for UCP to stop listing that node.