This is a dockerized version of Wetty krishnasrinivas (https://github.com/krishnasrinivas/wetty).
This project is linked to the docker hub, so you may always pull the latest build from any docker environment.
docker pull m451/wetty
Then you can run the application using:
docker run -dt -e REMOTE_SSH_SERVER=10.10.10.10 -e REMOTE_SSH_PORT=22 -e REMOTE_SSH_USER=root -p 3000 --name term m451/wetty
The environment parameters
are optional and will be used to configure wetty. If not set, a connection to 127.0.0.1:22 using root will be performed.
In order to access the web application, you have to get the IP and PORT it is hosted at within your docker environment.
You may use "docker ps" or "docker inspect" to get the informations. The following command will return the external PORT back the container is mapped back to you.
docker port term 3000
You may then access the application using http://DockerHostIP:PORT. You may dynamicly change the login-user by utilizing wetty's HTTP GET syntax, e.g.: