[ 
https://issues.apache.org/jira/browse/TINKERPOP-2685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17472804#comment-17472804
 ] 

Stephen Mallette commented on TINKERPOP-2685:
---------------------------------------------

I just tried that command and it was successful. maybe you should delete your 
image and retry?

{code}
$ docker run tinkerpop/gremlin-server:3.5.1
Unable to find image 'tinkerpop/gremlin-server:3.5.1' locally
3.5.1: Pulling from tinkerpop/gremlin-server
5843afab3874: Pull complete 
71bf5f49f093: Pull complete 
9f4e90ab505e: Pull complete 
d0b7ecf865ae: Pull complete 
c6eb3463d6ac: Pull complete 
74029860ca5d: Pull complete 
0aa23e6a0143: Pull complete 
5bad55de1a17: Pull complete 
7bed58eb1c18: Pull complete 
Digest: sha256:2f032dc74d3c2e54ea217064db330855e23931da5fc8ad5e561d274db8cf543a
Status: Downloaded newer image for tinkerpop/gremlin-server:3.5.1
[INFO] GremlinServer - 3.5.1
         \,,,/
         (o o)
-----oOOo-(3)-oOOo-----

[INFO] GremlinServer - Configuring Gremlin Server from conf/gremlin-server.yaml
[INFO] MetricManager - Configured Metrics ConsoleReporter configured with 
report interval=180000ms
[INFO] MetricManager - Configured Metrics CsvReporter configured with report 
interval=180000ms to fileName=/tmp/gremlin-server-metrics.csv
[INFO] MetricManager - Configured Metrics JmxReporter configured with domain= 
and agentId=
[INFO] MetricManager - Configured Metrics Slf4jReporter configured with 
interval=180000ms and 
loggerName=org.apache.tinkerpop.gremlin.server.Settings$Slf4jReporterMetrics
[INFO] DefaultGraphManager - Graph [graph] was successfully configured via 
[conf/tinkergraph-empty.properties].
[INFO] ServerGremlinExecutor - Initialized Gremlin thread pool.  Threads in 
pool named with pattern gremlin-*
[INFO] ServerGremlinExecutor - Initialized GremlinExecutor and preparing 
GremlinScriptEngines instances.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by 
org.codehaus.groovy.reflection.CachedClass 
(file:/opt/gremlin-server/lib/groovy-2.5.14-indy.jar) to method 
java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of 
org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] ServerGremlinExecutor - Initialized gremlin-groovy GremlinScriptEngine 
and registered metrics
[INFO] ServerGremlinExecutor - A GraphTraversalSource is now bound to [g] with 
graphtraversalsource[tinkergraph[vertices:0 edges:0], standard]
[INFO] OpLoader - Adding the standard OpProcessor.
[INFO] OpLoader - Adding the session OpProcessor.
[INFO] OpLoader - Adding the traversal OpProcessor.
[INFO] GremlinServer - Executing start up LifeCycleHook
[INFO] Logger$info - Executed once at startup of Gremlin Server.
[INFO] GremlinServer - idleConnectionTimeout was set to 0 which resolves to 0 
seconds when configuring this value - this feature will be disabled
[INFO] GremlinServer - keepAliveInterval was set to 0 which resolves to 0 
seconds when configuring this value - this feature will be disabled
[INFO] AbstractChannelizer - Configured application/vnd.gremlin-v3.0+json with 
org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV3d0
[INFO] AbstractChannelizer - Configured application/json with 
org.apache.tinkerpop.gremlin.driver.ser.GraphSONMessageSerializerV3d0
[INFO] AbstractChannelizer - Configured application/vnd.graphbinary-v1.0 with 
org.apache.tinkerpop.gremlin.driver.ser.GraphBinaryMessageSerializerV1
[INFO] AbstractChannelizer - Configured 
application/vnd.graphbinary-v1.0-stringd with 
org.apache.tinkerpop.gremlin.driver.ser.GraphBinaryMessageSerializerV1
[INFO] GremlinServer$1 - Gremlin Server configured with worker thread pool of 
1, gremlin pool of 2 and boss thread pool of 1.
[INFO] GremlinServer$1 - Channel started at port 8182.
{code}

> "docker run tinkerpop/gremlin-server:3.5.1" does not work
> ---------------------------------------------------------
>
>                 Key: TINKERPOP-2685
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2685
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.5.1
>            Reporter: Igor Ostapenko
>            Priority: Blocker
>
>  
> {code:java}
> $ docker run tinkerpop/gremlin-server:3.5.1
> WARNING: /opt/gremlin-server//opt/gremlin-server/conf/gremlin-server.yaml is 
> unreadable
> Configuration file not found.
> Usage: /opt/gremlin-server/bin/gremlin-server.sh 
> {start|stop|restart|status|console|install <group> <artifact> <version>|<conf 
> file>}
>     start        Start the server in the background using 
> conf/gremlin-server.yaml as the
>                  default configuration file
>     stop         Stop the server
>     restart      Stop and start the server
>     status       Check if the server is running
>     console      Start the server in the foreground using 
> conf/gremlin-server.yaml as the
>                  default configuration file
>     install      Install dependencies
> If using a custom YAML configuration file then specify it as the only 
> argument for Gremlin
> Server to run in the foreground or specify it via the GREMLIN_YAML 
> environment variable.
> {code}
> But `docker run tinkerpop/gremlin-server:3.5.0` works fine.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to