Add script to start Pulsar with Arm64 image

This commit is contained in:
Chris Bono
2022-11-17 21:30:53 -06:00
parent c6a3c30366
commit 77e5fc8f25
2 changed files with 14 additions and 0 deletions

View File

@@ -15,6 +15,13 @@ To start the cluster run the following script from project root dir:
./tools/pulsar/docker/standalone/pulsar-start.sh
----
===== Mac M1 (Arm64)
If you are running on Mac M1 (ARM64) and have issues running the above image, try running the following script from project root dir:
[source,shell]
----
./tools/pulsar/docker/standalone/pulsar-start-arm64.sh
----
==== Stop
To stop the cluster run the following script from project root dir:
[source,shell]

View File

@@ -0,0 +1,7 @@
#!/bin/bash
docker run -it -p 6650:6650 -p 8080:8080 \
--mount source=pulsardata,target=/pulsar/data \
--mount source=pulsarconf,target=/pulsar/conf \
kezhenxu94/pulsar:latest \
bin/pulsar standalone