https://github.com/singularityhub/singularity-tunel
command line tool for general HPC functions using Singularity containers
https://github.com/singularityhub/singularity-tunel
container-management containers flask python singularity singularity-container singularity-containers
Last synced: 4 months ago
JSON representation
command line tool for general HPC functions using Singularity containers
- Host: GitHub
- URL: https://github.com/singularityhub/singularity-tunel
- Owner: singularityhub
- License: mit
- Created: 2017-04-02T16:51:59.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-12-06T22:42:03.000Z (over 4 years ago)
- Last Synced: 2025-06-09T07:06:51.479Z (11 months ago)
- Topics: container-management, containers, flask, python, singularity, singularity-container, singularity-containers
- Language: CSS
- Homepage:
- Size: 1.39 MB
- Stars: 2
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Singularity 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).
```bash
git clone https://github.com/singularityhub/singularity-tunel
cd singularity-tunel
docker build -t vanessa/tunel .
```
## Deployment
You can use docker compose to deploy:
```bash
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/`: a json object with container args, labels, and links.
- `/api/container/args/`: json of just container args
- `/api/container/labels/`: 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`)