Docker volume data storage

Hey,
What would be the best way of storing the data?
Mounting a volume on /opt/vespa/ ?

Hi @DuckY-Y . Yes, you can mount a volume on /opt/vespa/ for state persistence. Furthermore, when you run Marqo with docker run --name marqo -p 8882:8882 marqoai/marqo, it creates an anonymous volume that you can find using docker inspect marqo which you can then use to transfer the state to another container. See here for more details.

Of course you can also run Vespa externally. You can learn more about configuring Marqo with an external Vespa here.

1 Like

Hello Marqo community. Please note that we’ve changed how Vespa volumes are managed in Marqo 2.9+ . Please follow the latest document if you would like to transfer state from previous Marqo version to a new Marqo version. Thanks.