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

Reply via email to