delete-node-docker
Deletes a Docker node
Description
The delete-node-docker
subcommand deletes a Docker node. The command will assume that the node’s configuration to be able to reach the container are still valid and will de-register the node configuration from the DAS and will automatically remove the container that corresponds to the deleted node.
If the settings of the Docker node are not valid or if the Docker engine is not reachable through its REST API endpoint, an error will occur and the command will fail.
This subcommand is supported in remote mode only.
Options
- asadmin-options
-
Options for the
asadmin
utility. For information about these options, see theasadmin
help page. --help
-?
-
Displays the help text for the subcommand.
Examples
Example 1 Deleting a Docker Node
This example deletes the node docker-node-1
:
asadmin> delete-node-docker docker-node-1
Command delete-node-docker executed successfully.