From c5fda71668bb6e91fa5d0b2510b357b2f4c19c31 Mon Sep 17 00:00:00 2001 From: Tom Chen Date: Tue, 28 Nov 2023 10:25:44 +0800 Subject: [PATCH 1/3] [fix][doc] auth problem in getting-started-docker-compose.md --- docs/getting-started-docker-compose.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/getting-started-docker-compose.md b/docs/getting-started-docker-compose.md index fc59b9a3f593..3889fd1c87da 100644 --- a/docs/getting-started-docker-compose.md +++ b/docs/getting-started-docker-compose.md @@ -113,6 +113,12 @@ services: ## Step 2: Create a Pulsar cluster +To authorize volumes for default uid(10000) in Pulsar dockerfile. +```bash +sudo mkdir -p ./data/zookeeper ./data/bookkeeper +sudo chown 10000 -R data +``` + To create a Pulsar cluster by using the `compose.yml` file, run the following command. ```bash From 32e35017b7cea470841ed7322ecc6a11e9ad4f4e Mon Sep 17 00:00:00 2001 From: Lari Hotari Date: Wed, 24 Jan 2024 08:52:12 -0800 Subject: [PATCH 2/3] Update getting-started-docker-compose.md --- docs/getting-started-docker-compose.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/getting-started-docker-compose.md b/docs/getting-started-docker-compose.md index 3889fd1c87da..0c88159df1bd 100644 --- a/docs/getting-started-docker-compose.md +++ b/docs/getting-started-docker-compose.md @@ -113,9 +113,10 @@ services: ## Step 2: Create a Pulsar cluster -To authorize volumes for default uid(10000) in Pulsar dockerfile. +To create data directories and change the 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 ``` From 44f986a2d1a941267aca273ca32ce3ed2932af22 Mon Sep 17 00:00:00 2001 From: Lari Hotari Date: Wed, 24 Jan 2024 08:53:30 -0800 Subject: [PATCH 3/3] Update getting-started-docker-compose.md --- docs/getting-started-docker-compose.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting-started-docker-compose.md b/docs/getting-started-docker-compose.md index 0c88159df1bd..9af7c3770a52 100644 --- a/docs/getting-started-docker-compose.md +++ b/docs/getting-started-docker-compose.md @@ -113,7 +113,7 @@ services: ## Step 2: Create a Pulsar cluster -To create data directories and change the ownership to uid(10000) which is the default user id used in the Pulsar Docker container. +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