This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push:
new 3679ddc2fc30 [fix][doc] auth problem in
getting-started-docker-compose.md (#741)
3679ddc2fc30 is described below
commit 3679ddc2fc30654aa694cfd1755fd7154984e41a
Author: Tom Chen <[email protected]>
AuthorDate: Thu Jan 25 00:53:41 2024 +0800
[fix][doc] auth problem in getting-started-docker-compose.md (#741)
* [fix][doc] auth problem in getting-started-docker-compose.md
* Update getting-started-docker-compose.md
* Update getting-started-docker-compose.md
---------
Co-authored-by: Lari Hotari <[email protected]>
---
docs/getting-started-docker-compose.md | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/docs/getting-started-docker-compose.md
b/docs/getting-started-docker-compose.md
index fc59b9a3f593..9af7c3770a52 100644
--- a/docs/getting-started-docker-compose.md
+++ b/docs/getting-started-docker-compose.md
@@ -113,6 +113,13 @@ services:
## Step 2: Create a Pulsar cluster
+As preparation, create data directories and change the data directory
ownership to uid(10000) which is the default user id used in the Pulsar Docker
container.
+```bash
+sudo mkdir -p ./data/zookeeper ./data/bookkeeper
+# this step might not be necessary on other than Linux platforms
+sudo chown 10000 -R data
+```
+
To create a Pulsar cluster by using the `compose.yml` file, run the following
command.
```bash