09-21-2017 01:46 AM
I am a complete new to docker and I understand the way default container volumes are made. Container volumes are inside of /var/lib/docker/volumes. can I change the default volume directory for each container, to a directory/partition of choice on the host system?
09-21-2017 03:31 PM
This question appears to be completely unrelated to Alfresco Content Services or any other component of Alfresco. Are you sure you are in the right place? Questions not related to Alfresco might get faster / better responses in other platforms, e.g. StackOverflow.
You don't necesarily have to change the path to /var/lib/docker/volumes (I myself am not sure where you'd do that), but you can mount any folder path to a volume of a container. I use that in some of my docker-compose.yml files to mount specific directories where other containers deposit their files, i.e. to share my Let's Encrypt certificate between the proxy and Repository, so that the Repository may use it for SMTPS.
Explore our Alfresco products with the links below. Use labels to filter content by product module.