I am interested and have been playing around with TinkerPop & Docker,
particularly for my Gremlin training.

For the training I did at DataDay Texas back in January, I had students
clone this and run it locally:
https://github.com/experoinc/gremlin-lang-intro. It is a bit of a hack, but
was sufficient for my purposes. Note that it loads 5 different data sets
(classic, modern, the crew, grateful dead, and a "citations" one I got from
Ted).

For training purposes my requirements are:
  - Each student has own graph(s) which are separate from the other
students.
  - Students have ability to "reset" their environment back to a known
state.
  - Ability to load known data sets for examples and practice.
  - Ability to mutate the graph and have mutations persist from one command
to the next
  - Overall solution should be as lightweight as possible.

I would be curious to hear what other requirements are out there. I suspect
that there are Proof of Concept use cases where this would be valuable.

I'm also interested in having an image which has a "notebook"-style
interface (e.g. Jupyter, Apache Zeppelin). There's a PR from a fellow
Experonaut which adds Jupyter to the repo above, but I have been out of the
office for the past couple of weeks and haven't evaluated it yet.

*Josh Perryman*

mobile: (713) 569-6533
Twitter <https://twitter.com/JoshPerryman> / *LinkedIn*

On Tue, Jun 6, 2017 at 11:39 AM, Stephen Mallette <[email protected]>
wrote:

> Would it be interesting to anyone for TinkerPop to have an official docker
> image?
>
> On Tue, Jun 6, 2017 at 12:22 PM, Benjamin Ricaud <
> [email protected]>
> wrote:
>
> > Thanks Jean-Baptiste,
> >
> > I have also done a container for the gremlin-server 3.2.4, configured to
> > be used with gremlin-python:
> > https://hub.docker.com/r/bricaud/gremlin-server/
> >
> > I noticed that you do not need the IP trick for the server to be
> accessed.
> > If you set
> > host: 0
> > in your gremlin-conf.yaml, (and open the port with -p 8182:8182) you can
> > access the server.
> > (see my conf files on the github repo).
> >
> > Best,
> > Benjamin
> >
> > Le jeudi 1 juin 2017 00:37:07 UTC+2, Jean-Baptiste Musso a écrit :
> >>
> >> Dear TinkerPop,
> >>
> >> I published a couple automatically built Docker images for
> gremlin-server
> >> and gremlin-console (current image tags: latest, 3.2.4, 3.2 and 3):
> >>
> >> https://hub.docker.com/r/jbmusso/gremlin-server/
> >> https://hub.docker.com/r/jbmusso/gremlin-console/
> >>
> >> I built these because I needed to quickly start different configurations
> >> of gremlin-server when developing the gremlin-javascript client.
> >> Source repository: https://github.com/jbmusso/docker-tinkerpop
> >>
> >>
> >> Start gremlin-server with:
> >>
> >> docker run -p 8182:8182 jbmusso/gremlin-server:3.2.4
> >>
> >>
> >> Defaults to conf/gremlin-server.yaml within that container, or pass
> >> another .yaml file:
> >>
> >> docker run -p 8182:8182 jbmusso/gremlin-server:3.2.4
> >> conf/gremlin-server-modern.yaml
> >>
> >>
> >> Mounting your own config .yaml file with docker run -v argument should
> >> also work (untested).
> >>
> >>
> >> You can play with the console this way (make sure you run with the -it
> >> flags so Docker don't quit and actually lets you type commands from your
> >> shell):
> >>
> >> docker run -it jbmusso/gremlin-console:3.2.4
> >>
> >>
> >> If you want to execute a file located on your host from within a
> >> gremin-console container (the following assumes that foobar.groovy file
> >> exists in your $HOME dir):
> >>
> >> docker run -it -v ~/foobar.groovy:/script/foobar.groovy
> >> jbmusso/gremlin-console:3.2.4 -e /script/foobar.groovy
> >>
> >>
> >>
> >>
> >> Jean-Baptiste
> >>
> >> --
> > You received this message because you are subscribed to the Google Groups
> > "Gremlin-users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to [email protected].
> > To view this discussion on the web visit https://groups.google.com/d/
> > msgid/gremlin-users/c8141999-2e9d-4fd3-a763-5630866e5c6b%
> > 40googlegroups.com
> > <https://groups.google.com/d/msgid/gremlin-users/c8141999-
> 2e9d-4fd3-a763-5630866e5c6b%40googlegroups.com?utm_medium=
> email&utm_source=footer>
> > .
> >
> > For more options, visit https://groups.google.com/d/optout.
> >
>

Reply via email to