A WebSSH container with OpenShift parameterized template for deployment
259
A WebSSH container with OpenShift template for deployment.
There are plenty of different Web-based terminals out there, Wetty, WebSSH, WebSSH2, etc. Most are just built on xterm and run on some sort of Node server like express.js.
This particular container is built on the Python package WebSSH. Not heavily used as keepAliveTimeout is low and does not persist well enough for workshops.
Basically it's a very simple Dockerfile, using Python 3.7.4 on Alpine Linux, installs needed packages, WebSSH, starts a WebSSH instance, and exposes the port 8888.
# git clone https://github.com/kenmoini/docker-webssh
# cd docker-webssh
# docker build - < Dockerfile
Then docker run and the image checksum of whichever was built.
Just want to use a pre-built and public container image? Sure, no problem...
# docker run -p 8888:8888 kenmoini/docker-webssh:latest
Navigate to localhost:8888 to access the container.
One of those fancy fucks with an OCP cluster? Dope - use the template in this repository to quickly deploy this same cluster.
# oc create -f https://raw.githubusercontent.com/kenmoini/docker-webssh/master/openshift-template.yml
# oc new-app webssh
This will create...
Content type
Image
Digest
Size
117.9 MB
Last updated
almost 7 years ago
docker pull kenmoini/docker-webssh