How to configure the persistent storage path?

I’m running the marqoai/marqo:1.5.0 and marqoai/marqo-os:0.0.3-arm containers on MacOS.

I would like to attach a docker volume and use the mount for marqo’s persistent storage. Is there anyway to change marqo’s storage path?

Hi @joe-maley ! This article outlines how Docker on MacOS handles persistent data.

In order to use a volume with a MacOS arm64 setup you can do the following:

  1. create the docker volume:
docker volume create marqo-os-data
  1. Run marqo-os for arm64, mounting the docker image:
docker rm -f marqo-os; docker run -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" -v marqo-os-data:/usr/share/opensearch/data marqoai/marqo-os:0.0.3-arm
  1. Follow the regular arm64 MacOS docker run marqo instructions, found in step 2 of the README.