onyx-starter icon indicating copy to clipboard operation
onyx-starter copied to clipboard

Docs don't walkthrough the basic Docker install

Open gigafone opened this issue 9 years ago • 3 comments

Could you please add some basic docs showing the basic steps to get up and running with Docker?

I setup Docker on my Mac using homebrew (with brew install docker and brew install docker-machine) and all seems well. docker run hello-world works.

The next logical thing to do seems to be to run:

source script/build.sh

(But got the error shown at #5.)

After that, I'm not sure if/when I need to use/run run-container.sh and/or run-peers.sh. Could you add some docs about this? Sorry if I overlooked something.

gigafone avatar Nov 30 '15 23:11 gigafone

@gigafone We added the Dockerfile automatically for users who are already familiar with Docker. If you're new to Docker, you might want to stick with running the jar yourself from a Bash script or similar. We'll get some instructions up for new Docker users soon, though. Thanks for the feedback!

MichaelDrogalis avatar Dec 01 '15 15:12 MichaelDrogalis

Also, to answer your more immediate question, you want to fire off run-peers.sh when you're ready to start your peer processes. That would be the script you're interested in to make your Onyx cluster come to life.

MichaelDrogalis avatar Dec 01 '15 15:12 MichaelDrogalis

By the way, there's a bug in run-peers.sh. See: https://github.com/onyx-platform/onyx-template/commit/ca9d34cfba4285ba7ede5a2794b9b95e242fe249#diff-914d93ff6f9f8005b11c6d51bb88e6c1L10

It's an extra quotation mark.

Once that's fixed, and you've rebuilt via build.sh, call: script/run-container.sh

On 1 December 2015 at 23:50, Michael Drogalis [email protected] wrote:

Also, to answer your more immediate question, you want to fire off run-peers.sh when you're ready to start your peer processes. That would be the script you're interested in to make your Onyx cluster come to life.

— Reply to this email directly or view it on GitHub https://github.com/onyx-platform/onyx-starter/issues/6#issuecomment-161007563 .

lbradstreet avatar Dec 01 '15 15:12 lbradstreet