From b1882fe372ca6ba0ebe461884a7896826a868326 Mon Sep 17 00:00:00 2001 From: Haixuan Xavier Tao Date: Sun, 23 Feb 2025 08:35:38 +0100 Subject: [PATCH] Update Hello World job as the previous version seems to be outdated. (#4857) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The previous README getting used to give me an error. ```bash (base) ~ ❯❯❯ bacalhau docker run ubuntu echo Hello World Error: server is not running or not reachable at http://127.0.0.1:1234 Hint: to resolve this, either: 1. Ensure that the server is running and reachable at http://127.0.0.1:1234 2. Update the configuration to use a different host and port using: a. The '--api-host= --api-port=' flags with your command b. The '-c API.Host= -c API.Port=' flags with your command c. Set the host in a configuration file with 'bacalhau config set API.Host=' and port with 'bacalhau config set API.Port=' 3. If you are trying to reach the demo network, use '--api-host=bootstrap.demo.bacalhau.org' to call the network ``` I think I corrected it ## Summary by CodeRabbit - **Documentation** - Updated the quickstart guide with an enhanced command for job submission, now including options to specify a service host, wait for job completion, and use an updated Docker image for improved execution. Co-authored-by: Walid Baruni --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5bf2e8a7f9..bbdd474098 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,11 @@ curl -sL https://get.bacalhau.org/install.sh | bash Submit a "Hello World" job ```bash -bacalhau docker run ubuntu echo Hello World +bacalhau docker run \ + -c API.Host=bootstrap.production.bacalhau.org \ + --wait \ + docker run \ + docker.io/bacalhauproject/hello-world:latest ``` Download your result