From 3679ddc2fc30654aa694cfd1755fd7154984e41a Mon Sep 17 00:00:00 2001 From: Tom Chen Date: Thu, 25 Jan 2024 00:53:41 +0800 Subject: [PATCH] [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 --- 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