Awesome Open Source
Awesome Open Source

Tunel

Application and general cluster tools using Singularity containers.

Introduction

Manager and recipe generator for local Singularity containers

Deployment

You should clone the repo, and build the container (or you can also just clone and then use docker-compose and it will be pulled from Docker Hub).

git clone https://www.github.com/vsoch/tunel
cd tunel
docker build -t vanessa/tunel .

Deployment

You can use docker compose to deploy:

docker-compose up -d

and then go to 127.0.0.1 (localhost).

Endpoints

Here are some useful endpoints:

Views

  • /: the root will show all containers available. When the user selects, he/she is taken to a screen to see input arguments.
  • /containers/random: will return a random container
  • /container/container.img: will show metadata about a container.

API

The following are considered API, meaning they return a text or json response, not intended for the user to interact with.

  • /api/containers: a list of all available containers
  • /api/container/<string:name>: a json object with container args, labels, and links.
  • /api/container/args/<string:name>: json of just container args
  • /api/container/labels/<string:name>: json of juist container labels
  • /container/run/container.img: Is the base for running a container, this one would be container.img. Arguments can be added as POST (eg, ?name=Amy)
Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Python (805,485
Css (142,123
Docker (97,274
Json (39,386
Flask (20,631
Labels (11,607
Command Line Tool (8,410
Docker Compose (8,331
Hpc (1,821
Singularity (197
Container Management (81
Singularity Container (67