Git Product home page Git Product logo

singularityhub / interface Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 4.48 MB

user interface for managing containers with sregistry global client, and making recipes

Home Page: https://singularityhub.github.io/interface/

License: GNU Affero General Public License v3.0

Shell 3.08% Python 30.12% CSS 22.83% JavaScript 11.22% HTML 32.75%
singularity-container docker containers nginx flask management

interface's Introduction

Tunel

This is the Tunel, giving you interactive management for your containers.

docs/img/tunel.png

The interface provides interactive pulling, recipe generation, and management for Singularity containers managed by a Singularity Global Client. However, you don't need to actually install the client locally because the entire thing is packaged in a Docker container.

Gitter chat

Acknowledgements

interface's People

Contributors

vsoch avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

interface's Issues

The interface is super slow

Hello Vanessa,

I installed Tunel and I was able to lunch the GUI interface. But everything is super slow to the point that it's not usable. Any idea what I could be missing? Clicking any button takes more than 2 min to load.

Thanks

Cleaning up Interface

I just made it, and already I see too much unnecessary text, colors, etc. Clean this up!

Features to add:

I should be able to...

  • to transfer / share images (e.g., Google Drive share or to a Globus endpoint)
  • to rename / move containers
  • delete and inspect individual containers
  • some kind of sync?

[builder] conversion issue (ENV)

This is valid Dockerfile syntax to set 2 environment variables:

ENV A=B X=Y

When converting this from Docker to Singularity, the Singularity output is incorrect:

%post
A=B=X=Y
%environment
export A=B=X=Y

[builder] chained commands

It is common in Docker to chain commands together into a single layer and break the command so it does not exceed 80 characters. For instance:

RUN apt-get update -y && \
  apt-get-install -y --no-install-recommends \
     python \
     python3 && \
  rm -rf /var/lib/apt/lists/* 

This is converted to Singularity as

%post
apt-get update -y && \
apt-get install -y --no-install-recommends \
python \
python3 && \
rm -rf /var/lig/apt/lists/*

The builder then interprets this as 5 effective commands rather than 1 long command split over 5 lines. The builder fails when trying to run python.

Globus integration

If I am a Stanford student, I would want to be able to open up the interface, pull a container from Nvidia GPU cloud or Docker Hub, and then transfer it easily to my endpoint on Sherlock.

Google Cloud Endpoints

We likely can integrate many of the Google Cloud endpoints via OAuth2 and skip over the application credentials. This will allow for use cases like sharing / transferring to and from Storage, and Drive.

Nvidia API token bug

Given the client's choice of session in the browser, I can see a bug where the token is not saved for Nvidia GPU. This cache should use the standard sregistry, and not rely on sessions.

Builders Integration!

As a user, I should be able to create a recipe, and then click build, and have a builder launch and (send me a message to my browser) to notify that the build is done. I should be able to select from the Builders repository of recipes, or my own. It also might include integration with Github for version control recipes, need to think about this. Another option it to have a link between the interface --> Github --> CI and building.

API for containers

Each container, along with the entire list of containers, should be served via a restful API of the server. This API then might be able to be interacted with by other users (I wonder what cool things we could do with this!)

[globus] spite self in face with nose

  • do something once, it doesn't work
  • spend all day debugging and not getting help, hate self
  • get immediately closed ticket or otherwise unhelpful response back, give up and still hate self
  • come back with redeemed motivation and figure it out, thank god
  • but then come back to do the same thing again, and it's broken again
  • 7 hours later, continue hating self
  • question wtf am I doing this for
  • jump off cliff

[builder] Named stage conversion

This is valid Dockerfile syntax to name a layer (for multistage builds):

FROM ubuntu:16.04 AS level

Singularity has no corresponding concept. The converter carries it through which results in an invalid Singularity recipe.

Bootstrap: docker
From: ubuntu:16.04 AS devel

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.