codeabovelab / haven-platform

Haven is an open source Docker container management system. It integrates container, application, cluster, image, and registry management in one single place.
Apache License 2.0
282 stars 40 forks source link

Implement support of remote TTY #23

Open wayerr opened 7 years ago

wayerr commented 7 years ago

To evaluate approach to add remote TTY via our HTML UI. Note that it may require specific options for run containers & etc.

wayerr commented 7 years ago

as TTY in browser emulator we can use below project: https://chromium.googlesource.com/apps/libapps/+/master/hterm

also the https://github.com/krishnasrinivas/wetty/blob/master/public/wetty/wetty.js - provide example usage

wayerr commented 7 years ago

screenshot_20170321_184927

Add test page with TTY to any container. Implementation based on https://xtermjs.org/

For 'line spacing issue' see https://github.com/sourcelair/xterm.js/issues/475

Anselm21 commented 7 years ago

Please, provide some backend description. At this moment have no idea, what should be done in terms of this task.

wayerr commented 7 years ago

We need some user interface (example provided on page: http://haven/ui/tty.html) which is open from docker container menu and show terminal emulator