container-web-tty

command module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
backend/localcommand
Package localcommand provides an implementation of webtty.Slave that launches a local command with a PTY.
Package localcommand provides an implementation of webtty.Slave that launches a local command with a PTY.
webtty
Package webtty provides a protocl and an implementation to controll terminals thorough networks.
Package webtty provides a protocl and an implementation to controll terminals thorough networks.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL