gotty
gotty copied to clipboard
Feature: Docker containerization
- Add initial Dockerfile with default environment options
- Add initial docker-compose configuration
- Add docker installation guide in README.md
Usage
- Either use
docker-compose
:
docker-compose up
- Or
docker
manually:
$ docker build -t gotty .
$ docker run --rm --publish 8080:8080 gotty
You can run one-off commands too, e.g.:
docker run --rm --publish 8080:8080 gotty --once top -o %CPU
+1
FYI to anyone finding this, I've made a similar container in https://github.com/vorburger/cloudshell.