You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/12/09 12:48:16 UTC
[GitHub] [pulsar] ericallam commented on issue #15647: [2.10.0] ERROR org.apache.pulsar.zookeeper.LocalBookkeeperEnsemble - Exception while instantiating ZooKeeper
ericallam commented on issue #15647:
URL: https://github.com/apache/pulsar/issues/15647#issuecomment-1344270020
I'm on an ARM Mac and I'm seeing the `Cannot write to data directory data/standalone/zookeeper/version-2` error only when running pulsar in Docker Compose, but I'm able to run the following docker command and have it work:
```sh
docker run -it -p 6650:6650 -p 8080:8080 --mount source=pulsardata,target=/pulsar/data --mount source=pulsarconf,target=/pulsar/conf --name pulsar apachepulsar/pulsar:latest bin/pulsar standalone
```
The following docker-compose.yml leads to the error:
```yaml
version: "3.7"
services:
pulsar:
image: apachepulsar/pulsar:latest
command: bin/pulsar standalone
ports:
- 6650:6650
- 8080:8080
volumes:
- pulsardata:/pulsar/data
- pulsarconf:/pulsar/conf
volumes:
pulsardata:
pulsarconf:
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org