hectcastro / docker-riak-cs

A Docker project to bring up a local Riak CS cluster.
https://registry.hub.docker.com/u/hectcastro/riak-cs/
Apache License 2.0
42 stars 21 forks source link

Docker 1.0.1 compability issues #3

Closed thisismana closed 10 years ago

thisismana commented 10 years ago

Hey,

first of all thank you for providing this great Dockerfile. I wanted to test RiakCS but unfortunatelly it does not work with the current version of Docker (I'm on MacOS using boot2docker with Docker version 1.0.1, build 990021a). Freshly installed just for this purpose.

The build process runs fine, but when starting a cluster (DOCKER_RIAK_CS_AUTOMATIC_CLUSTERING=1 DOCKER_RIAK_CS_CLUSTER_SIZE=2 hangs at some point. There is no "Successfully brought up [riak-cs01]" message.

hectcastro commented 10 years ago

Docker changed its default port from 4243 to 2375. If you were following the README, it probably led you astray.

I updated the README in https://github.com/hectcastro/docker-riak-cs/commit/eb68b685f4aa976848ca42e2f5416c0df7ead221. In addition, I added code to ensure the host provided in DOCKER_HOST gets used for Riak CS liveness checks.

Can you please try the 0.3.0 release?

thisismana commented 10 years ago

The port that changed to {{2375}} was not the issue. One of the changes you've made, fixed the problem.

Successfully built 24d1fe3c51c3
./bin/start-cluster.sh

Bringing up cluster nodes:

Successfully brought up [riak-cs01]
Successfully brought up [riak-cs02]
Successfully brought up [riak-cs03]
Successfully brought up [riak-cs04]
Successfully brought up [riak-cs05]

Please wait approximately 30 seconds for the cluster to stabilize.