Sign inSign up

mrtux543/ttyd

By mrtux543

•Updated over 5 years ago

An Alpine Linux-based ttyd container

Image
0

5.5K

mrtux543/ttyd repository overview

⁠docker-ttyd

This is a dockerized version of ttyd⁠, a utility that allows you to access a command line from your web browser. This container is designed to be used as a minimal Alpine Linux-based environment, complete with user accounts and optional root access.

⁠Usage

Pull ttyd from the Docker Hub

docker pull mrtux543/ttyd:latest

Create a .env file with your desired environment variables. An example with the defaults is in this repo.

Create a ttyd container:

docker run -p 7681:7681 --name=ttyd --env-file=.env mrtux543/ttyd

ttyd is now accessible at http://localhost:7681

⁠Environment variables

Docker-ttyd uses the following environment variables:

VariableDescriptionDefault Value
USERNAMEThe username your shell will run as.user
PASSWORDThe password your user account uses. Change this!Passw0rd
SUDO_OKIf enabled, the user account will have access to sudo.false
AUTOLOGINAutomatically logs in as your user, without a password.false
TZOptionally set the timezone, defaults to UTC.Etc/UTC

Tag summary

Content type

Image

Digest

Size

7.4 MB

Last updated

over 5 years ago

docker pull mrtux543/ttyd