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