dcos task attach

Attaching a process inside of a task’s container

Description

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

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

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

Options

NameDescription
—no-stdinDo not attach the stdin of the CLI to the task.

Positional arguments

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

Parent command

CommandDescription
dcos taskManage DC/OS tasks.