Yes definitely for me. It would be easier for beginners to start using TinkerPop and to try different versions/ different configurations/different graph databases. I had a hard time setting up my gremlin server with gremlin-python (even if it is not so complicated). Reading the Dockerfile and script files also help learning how gremlin works.
Benjamin Le mardi 6 juin 2017 18:39:09 UTC+2, Stephen Mallette a écrit : > > 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] > <javascript:>> 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] <javascript:>. >> 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. >> > >
