Skip to content
Dilshat edited this page May 18, 2018 · 5 revisions

Attach

attach <container name> [command] - attach to container

Example:

 subutai attach container1

Description:

Allows user to use container's TTY. <container name> - should be available running Subutai container, otherwise command will return error message and non-zero exit code. Also it is possible to specify command to execute using this shortcut:

 subutai attach container1 'ls -l | grep home'

 subutai attach container1 "echo 'Hi'"