Remove logic that checks for root login and prepends command with sudo, because
we should not use root login at all and all commands (that require higher permissions
should be prefixed with sudo anyways).
Add sudo prefix to privileged commands that require it.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
Use docker API to operate with remote devenv, this makes code cleaner and more uniform
between local devenv and remote devenv.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>