I voted up the answer from sneep, because this should work. Although it's not actually the exposed volume in the image, that is what they have in the description on the hub.docker.com repo for mesh.
The Dockerfile in the gentics mesh repository tells the story:
First with this bit:
RUN mkdir /data && chown mesh: /data -R && ln -s /data /mesh/data
RUN mkdir /config && chown mesh: /config -R && ln -s /config /mesh/config
And later these volumes are exposed:
VOLUME /data
VOLUME /config
VOLUME /elasticsearch/data
VOLUME /elasticsearch/config
I guess you could simply map to the /data
and /config
volumes, since they are what is exposed.
But as mentioned, previous answer should work just fine.