Hi-

I am trying to run the Hello World app from "Geode in 5 minutes":
 https://github.com/apache/geode

If I install and run Geode 1.10 locally, the app works.

When I try to use the docker image, I get:
Exception in thread "main"
org.apache.geode.cache.client.NoAvailableServersException

I feel like I've followed the directions pretty carefully. I've also tried
passing a bunch of possible ports to docker:
docker run -it -p 10334:10334 -p 7575:7575 -p 1099:1099 -p 7070:7070 -p
8080:8080 -p 40404:40404 apachegeode/geode

I feel like I'm missing something, but it's not obvious to me - is it
obvious to you?

Thanks for any help you can provide!
-Jim

--

➜  ~ docker run -it -p 10334:10334 -p 7575:7575 -p 1099:1099 -p 7070:7070
-p 8080:8080 -p 40404:40404 apachegeode/geode
    _________________________     __
   / _____/ ______/ ______/ /____/ /
  / /  __/ /___  /_____  / _____  /
 / /__/ / ____/  _____/ / /    / /
/______/_/      /______/_/    /_/    1.10.0

Monitor and Manage Apache Geode
gfsh>start locator
Starting a Geode Locator in /turn-witty-zeta...
.......
Locator in /turn-witty-zeta on 528e805016b7[10334] as turn-witty-zeta is
currently online.
Process ID: 40
Uptime: 9 seconds
Geode Version: 1.10.0
Java Version: 1.8.0_212
Log File: /turn-witty-zeta/turn-witty-zeta.log
JVM Arguments: -Dgemfire.enable-cluster-configuration=true
-Dgemfire.load-cluster-configuration-from-dir=false
-Dgemfire.launcher.registerSignalHandlers=true -Djava.awt.headless=true
-Dsun.rmi.dgc.server.gcInterval=9223372036854775806
Class-Path:
/geode/lib/geode-core-1.10.0.jar:/geode/lib/geode-dependencies.jar

Successfully connected to: JMX Manager [host=528e805016b7, port=1099]

Cluster configuration service is up and running.

gfsh>start server
Starting a Geode Server in /zoom-agreeable-uniform...
...
Server in /zoom-agreeable-uniform on 528e805016b7[40404] as
zoom-agreeable-uniform is currently online.
Process ID: 128
Uptime: 4 seconds
Geode Version: 1.10.0
Java Version: 1.8.0_212
Log File: /zoom-agreeable-uniform/zoom-agreeable-uniform.log
JVM Arguments: -Dgemfire.default.locators=172.17.0.2[10334]
-Dgemfire.start-dev-rest-api=false -Dgemfire.use-cluster-configuration=true
-Dgemfire.launcher.registerSignalHandlers=true -Djava.awt.headless=true
-Dsun.rmi.dgc.server.gcInterval=9223372036854775806
Class-Path:
/geode/lib/geode-core-1.10.0.jar:/geode/lib/geode-dependencies.jar

gfsh>create region --name=hello --type=REPLICATE
        Member         | Status | Message
---------------------- | ------ |
----------------------------------------------
zoom-agreeable-uniform | OK     | Region "/hello" created on
"zoom-agreeable-u..

Cluster configuration for group 'cluster' is updated.

Reply via email to