Member-only story
GridDB and Node.js Setup on Apple Silicon with Docker
GridDB™ is a highly scalable, in-memory NoSQL time-series database optimized for IoT and Big Data. The installation was previously limited to x86 systems, but it can now be used on ARM chips like Apple M-series through docker.
How to run GridDB on my MacBook?
This blog, available on their official website, explains how to run it using Docker. Below is a summary of the main steps:
- Create a Docker Network
docker network create griddb-net
This command creates a Docker network named griddb-net. To communicate with GridDB using this network, ensure you reference the network name griddb-net.
You can check the created network with this command:
docker network ls
2. Pull the GridDB Docker Image
docker pull griddbnet/griddb:arm-5.5.0
This will pull the GridDB Docker image ARM version from the Docker hub griddbnet.
3. Run the GridDB Server
$ docker run --name griddb-server \
--network griddb-net \
-e GRIDDB_CLUSTER_NAME=myCluster \
-e GRIDDB_PASSWORD=admin \
-d -t griddbnet/griddb:arm-5.5.0