Skip to content
This repository has been archived by the owner on Mar 9, 2020. It is now read-only.
Christoph Görn edited this page Nov 25, 2015 · 5 revisions

Welcome to the Grasshopper wiki!

The first thing to figure out, is if we could generate a Nulecule file from a very well/rich annotated Dockerfile. Yes we can! By using grasshopper nulecule guess:

$ ./grasshopper --experimental nulecule guess \
                test-fixtures/Dockerfile-postgresql.rhel7 
Logging to grasshopper.log
---
specversion: 0.0.2
id: PostgreSQL_9.4
metadata:
  name: "PostgreSQL 9.4"
  appversion: "9.4-1"
  description: "PostgreSQL is an advanced Object-Relational database management system"
requirements:
  - persistentVolume:
    name: "var-lib-psql-data"
    accessMode: "ReadWrite"
    size: 1

A more elaborated walk thru is available at http://b4mad.net/datenbrei/archives/2015/11/25/making-nuleculization-of-applications-faster/

The Index

Working with Nulecules means reusing existing Nulecule (as much as possible). The get an idea of what exists out there today, we have created the Nulecule Library. It is a starting point to find Nulecule to base your work on.

To search the Nulecule Library, you can use grasshopper --experimental nulecule index list to list all available Nuleculized Applications within the library.

Clone this wiki locally