Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Cp0204/ttydBridge

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

ttydBridge

English | 简体中文

Docker containers based on ttyd bypass the isolation mechanism.

A "bridge" to the host environment, allowing you to easily use the host terminal in your browser.

docker tag docker pulls docker image size

Usage

Run the container:

docker run -d \
  --name ttydbridge \
  -e PORT=2222 \
  -v /opt:/opt \
  --pid host \
  --privileged \
  --restart unless-stopped \
  cp0204/ttydbridge:latest

Access the web terminal via http://yourhost:2222 and login with your system user.

Environment

Name Default Description
EXEC_DIR /opt Program execution dir, must be consistent with volume mappings, DO NOT MODIFY if you don't understand
START_COMMAND login ttyd initial command, login uses system authentication, bash enters directly
PORT 2222 Web port
ALLOW_WRITE true Allow terminal input
HTTP_USERNAME HTTP_PASSWORD HTTP basic authentication, effective when set at the same time
ENABLE_SSL false Enable SSL (https)
SSL_CERT SSL_KEY SSL_CA Host certificate paths, effective when ENABLE_SSL=true
ENABLE_IPV6 false Enable IPv6 support
AUTO_ALLOW_PORT false Automatically allow web ports

Donate

Enjoyed the project? Consider buying me a coffee - it helps me keep going!

WeChatPay

Thank

  • ttyd : Share your terminal over the web

About

A DockerApp makes it easy to use the host terminal in the web | 轻松在网页中使用主机终端

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.