dcos task attach

Attaching a process inside of a task's container


The dcos task attach command allows you to attach the CLI to the stdio of an already running task.

dcos task attach [--no-stdin] <task>

To detach from a task, type the sequence CTRL-p CTRL-q.


Name Description
--no-stdin Do not attach the stdin of the CLI to the task.

Positional arguments

Name, shorthand Description
<task> A full task ID, a partial task ID, or a UNIX shell wildcard pattern (for example, my-task*).

Parent command

Command Description
dcos task Manage DC/OS tasks.