Skip to content

Al2Klimov/tty.pub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tty.pub

Serves a TTY-like interface to a newly spawned Docker container to the public.

docker run --rm -dp 8080:8080 \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -e TTYPUB_FAVICON='/#' \
    -e TTYPUB_TITLE=Alpine \
    -e TTYPUB_SESSIONS=42 \
    -e TTYPUB_IMAGE=alpine \
    -e TTYPUB_CMD='["sh"]' \
    -e TTYPUB_RUNOPTS='[
        "--cpus", "0.1",
        "-m", "20M",
        "--storage-opt", "size=42M",
        "--network", "none"
    ]' \
    grandmaster/tty-pub

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published