Docker Community Forums

Share and learn in the Docker community.

Best practice to persist data from docker services


(catshout) #1

Dear community,

I’ve played around a while today with docker images in the docker cloud. For example I’ve created a docker service for Apache ServiceMix. ServiceMix allows a hot deployment while copying bundles/routes to the /deploy directory. For this I’d like

a) to access the volume from an ssh client but without the long randomly created uuid
b) store the data inside the volume permanently even when re-deploying the service

Is there a separate data volume service the best option? What other options are recommended?

Many thanks in advance

  • Gerald