Closed pmarques closed 10 years ago
Great idea, @pmarques. I left a few comments above. If we can get those sorted out, I'd be happy to merge.
I just realized that this won't work as is for people using boot2docker
. The SSH command will attempt to SSH into the container, but the container itself lives inside the boot2docker
VM.
Best alternative I can come up with is to expose the SSH port of the containers, allowing users to SSH directly from the boot2docker
host.
I don't know very well boot2docker, but another solution could be to use "boot2docker ssh" as tunnel or if it is support run a command like in ssh
If you use boot2docker can you test if using boot2docker ssh instead of ssh in start-cluster.sh line 74
Can you please trying cherry-picking this commit to see if it works against your setup? I just tested it with boot2docker
and it appears to work: https://github.com/hectcastro/docker-riak-cs/commit/23a3e71421ff3744bc6c6c42b38d9d92cb8ecf63.
It works :)
Great! Can you include that commit in this pull request? I'll re-test after that and merge.
Thanks for your help, @pmarques. Merged in https://github.com/hectcastro/docker-riak-cs/commit/348759399635d3f813060e95fcac922c6bdeccfa.
Automatically download ssh insecure key to print credentials to simplify the steps of S3 configuration https://github.com/hectcastro/docker-riak-cs#amazon-s3