Skip to content

vorburger/cloudshell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Cloud Web Terminal Shell

Container running a Web Terminal to a Linux Shell for development in a ☁️ Cloud.

Usage

Locally

sudo docker run --hostname=testhost -eUSER_ID=YOURUID -eUSER_PWD=YOURPWD --rm -p 8080:8080 gcr.io/vorburger/github.com/vorburger/cloudshell-debian

podman run --hostname=testhost -eUSER_ID=YOURUID -eUSER_PWD=YOURPWD --rm -p 8080:8080 gcr.io/vorburger/github.com/vorburger/cloudshell-fedora

You can now access a web-based shell on http://localhost:8080! (Login with the YOURUID & YOURPWD chosen above.)

Optional additional container environment variables

  • USER_SHELL can be set to /usr/bin/bash or /usr/bin/zsh instead of the default Fish shell.
  • GOTTY_TERM can be set to hterm instead of the default xterm
  • GOTTY_TITLE_FORMAT = "Cloud Shell" (or whatever HTML TITLE you like)

Features

  • is simple to use & run, available from a container registery
  • offers both Debian and Fedora containers
  • has regular user account (not root)
  • has sudo working (useful e.g. for quick package installation)
  • customizable by deriving your own container FROM cloudshell (this one); as e.g. in this Dockerfile

Develop

./build

Now simply run like in the Locally section above, but use only cloudshell-fedora (or cloudshell-debian) instead of pulling from the remote gcr.io/... registry.

Based on

Similar projects (open source)

Similar projects (not open source)

References