-
Notifications
You must be signed in to change notification settings - Fork 227
Regarding the Terminal Option in the Compose-UI #4
Comments
Hello Mani, it could be interesting to integrate a TTY in the application. I will investigate about the feasibility of this feature ASAP |
there is no standard way to open a terminal using docker-py (see docker/docker-py#390, docker/docker-py#239, docker/docker-py#389). |
Hi ! Any news on that feature ? |
I did some test with the latest docker pty There is no GUI at the moment but you can try it from an HTTP client:
|
current solution, based on |
Hi Guys, You can perform this using shipyard project you can set-up on top of existing docker or swarm cluster. I used this compose to launch shipyard with docker-ui on a swarm with a Traefik proxy for routing
|
@allamand , shipyard integration gives an CLI or Unix like web Terminal UI ? |
@murugesh it's a unix like terminal ui (a console in the browser) I can show example if you like, I launch my shipyard using compose-ui Sébastien
|
I would live to see the example, how can you show me? |
I would love to see the example, how can you show me? |
I used this compose file : https://gist.github.com/allamand/e4f6a6229804007fa8f1a37761745031. I din't saw the entire video but it should create something like this https://www.youtube.com/watch?v=aLlp-kemx_s |
Looks like there's an API method in Docker Engine which exposes the raw stream from the docker exec. Here is the relevant code from Shipyard which seems to just connect to that endpoint & open it up with websockets. @francescou would you accept PRs for similar functionality? Seems like its all implemented in Docker Engine, so the missing piece would be the Websocket connection (likely from some Python websocket library). |
@MichaelMackus I would be really interested. I've also made some experiments with websockets in python/Flask (using gevent, see #14) but I didn't like how these framework worked together. |
Good to hear! I did try some experimenting with Websockets as well, but I'm still trying to wrap my head around the protocol (& integrating it with Flask). I'll let you know what I find. |
This feature has been released in instructions:
|
Hi,
Is is possible to add a terminal(tty) embedded in the UI which will help us to checks the logs and run commands within the browser.
Thanks,
Mani
The text was updated successfully, but these errors were encountered: