dcos cluster attach

Attaching the CLI to a connected or linked cluster


The dcos cluster attach command allows you to attach the CLI to a connected or linked cluster. When you run the dcos cluster setup command, the cluster is automatically attached.


dcos cluster attach [<connected-cluster-name> | <linked-cluster-name> | <connected-cluster-id> | <linked-cluster-id>]

Positional arguments

Name, shorthand Description
<connected-cluster-name> Name of connected cluster.
<linked-cluster-name> Name of linked cluster.
<connected-cluster-id> ID of connected cluster.
<linked-cluster-id> ID of linked cluster.

Parent command

Command Description
dcos cluster Manage connections to DC/OS clusters.


For examples, see Cluster Connections and Cluster Links.