Is there way to relay commands to the terminal running on ttyd and see the output of said command on ttyd’s frontend?

Published

I have ttyd process running on a Docker container, and I’m using an iframe to render the terminal of the said docker container in the browser. I would like to send commands to be run on the ttyd terminal from a remote server so that the output of the command can be seen on ttyd’s terminal. I have looked at ttyd’s documentation and have found no way to do this directly. Is it possible to do something like this with ttyd?

Source: Docker Questions

Published
Categorised as docker, linux, terminal Tagged , ,

Answers

Leave a Reply

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq