Skip to content

nxsre/container-web-tty

 
 

Repository files navigation

Container web TTY

Tired of typing docker ps | grep xxx && docker exec -ti xxxx sh ? Try me!

Although I like terminal, I still want a better tool to get inside of the containers and do some things. So I build this container-web-tty. It can help you get into the container and execute commands via a web-tty, based on yudai/gotty with some changes.

Both docker and kubectl are supported.

TODO

  • it works
  • docker backend
  • kubectl backend
  • beautiful index
  • proxy mode(client -> server's containers)

- [ ] session and auth

- [ ] hold the TTY(with timeout)

Show-off

List the containers on your machine: List containers

It will execute sh if there is no /bin/bash inside the container: sh by dfault

Of Cause bash: also bash

About

Connect your containers via a web-tty

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 73.6%
  • TypeScript 14.5%
  • Makefile 4.5%
  • CSS 4.2%
  • HTML 2.4%
  • JavaScript 0.8%