Container running a Web Terminal to a Linux Shell for development in a ☁️ Cloud.
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.)
USER_SHELLcan be set to/usr/bin/bashor/usr/bin/zshinstead of the default Fish shell.GOTTY_TERMcan be set tohterminstead of the defaultxtermGOTTY_TITLE_FORMAT= "Cloud Shell" (or whatever HTML TITLE you like)
- is simple to use & run, available from a container registery
- offers both Debian and Fedora containers
- has regular user account (not
root) - has
sudoworking (useful e.g. for quick package installation) - customizable by deriving your own container
FROM cloudshell(this one); as e.g. in this Dockerfile
./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.
- https://xtermjs.org (via gotty)
- https://hterm.org (on chromium.googlesource.com, via gotty)
- https://github.com/vorburger/GoTTY (forked from https://github.com/yudai/GoTTY); BTW note https://github.com/moul/gotty-client