delete-node-docker

Deletes a Docker node

Synopsis

asadmin [asadmin-options] delete-node-docker [--help]
node-name
shell

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 the asadmin help page.

--help
-?

Displays the help text for the subcommand.

Operands

node-name

The name of the node to delete.

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.
shell

Exit Status

0

command executed successfully

1

error in executing the command

See Also