-dir
parameter then points to a directory inside that mounted volume. However, after a restart you may get a failure with a message similar to this:-dir
and located in the mounted volume), but did not recover the RAFT specific state that is by default stored in a directory named after your cluster id, relative to the current directory starting the executable. In the context of a container, this data will be lost after the container is stopped.-cluster_log_path
and ensure that it points to the mounted volume so that the RAFT state can be recovered along with the Streaming state.