Sign inSign up

leodagan/butterfly

By leodagan

Updated about 7 years ago

A web terminal based on websocket and tornado

Image
0

853

leodagan/butterfly repository overview

butterfly

Butterfly is a xterm compatible terminal that runs in your browser.

Tagamd64arm32v6arm32v7arm64v8
latest, 3.2.5
edge

Run

By default the webservice is available through HTTP on port 80 without any authentication.

docker run --rm -d leodagan/butterfly

Install additional packages available through the terminal.

docker run --rm -d --entrypoint sh leodagan/butterfly -c 'apk add openssh-client && exec butterfly.server.py --host=0.0.0.0 --port=80 --unsecure --i-hereby-declare-i-dont-want-any-security-whatsoever'

You should STRONGLY consider adding a security layer (Reverse-proxy with SSL termination and authentication) or enabling butterfly secure options before exposing to public.

Docker Compose

Example Docker Compose file with additional packages installation.

version: '2'
services:

  butterfly:
    image: leodagan/butterfly
    entrypoint: sh -c 'apk add --no-cache openssh-client curl && exec butterfly.server.py "$$@"' --
    command:
      - --unsecure
      - --host=0.0.0.0
      - --port=80
      - --i-hereby-declare-i-dont-want-any-security-whatsoever
    restart: unless-stopped
    dns:
      - 8.8.8.8
      - 8.8.4.4

References

https://github.com/paradoxxxzero/butterfly

Tag summary

Content type

Image

Digest

Size

35.5 MB

Last updated

about 7 years ago

docker pull leodagan/butterfly