Skip to content
Dilshat edited this page Feb 15, 2018 · 5 revisions

Attach

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

Options:

--clear, -c	    attach with clear environment 
--x86, -x	    use x86 personality
--regular, -r	connect as regular user

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'