This image is intended to be used for accessing the console from the browser.
You can specify the following variables:
TTY_USER=<access_user>TTY_PASSWORD=<access_password>Run:
$ docker run -d --name webtty --restart always -u `id -u`:`id -g` -p 7681:7681 atrobertoflores/webtty
Open a browser and see the demo at http://<server>:7681 with user/password "alpine/alpine"
Run Docker in Docker:
$ docker run -d --name webtty -u `id -u`:`id -g` -p 7681:7681 -v /var/run/docker.sock:/var/run/docker.sock atrobertoflores/webtty
Inside container install docker (as root): https://docs.docker.com/engine/install/ubuntu/
$ DOCKER_VERSION=20.10.0 \
&& curl -fsSLO https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKER_VERSION}.tgz \
&& tar xzvf docker-${DOCKER_VERSION}.tgz --strip 1 \
-C /usr/local/bin docker/docker \
&& rm docker-${DOCKER_VERSION}.tgz
Test docker (as alpine):
$ sudo docker ps
Change alpine password:
$ passwd
This is based on the container by https://github.com/raonigabriel > https://github.com/raonigabriel/web-terminal.
Content type
Image
Digest
Size
7.8 MB
Last updated
over 5 years ago
docker pull atrobertoflores/webtty