Docker supports several mechanisms for data storage and persistence. One such mechanism of persisting container data is by using shared volumes in containers.
The examples used in this guide assumes that you create and use shared volumes. For example, create a shared volume called /data on your Docker host.
mkdir /data
The shared volume created requires permissions. use the following command to provide:
chmod -R 777 /data
However, you can use other volumes that Docker supports. For more information, see Docker documentation.
NOTE:
The /data directory of the Docker host will be mapped to the /config directory of the containers. Ensure that you have read-write permissions for the shared directory. However, if you want to map the shared directory with a different directory inside the container, you must map them while deploying the container itself. For example, you can map the /data directory with the /etc/opt/novell/dirxml/rdxml/ directory inside the Remote Loader container.
The shared directory must only be used by Identity Manager containers. It is recommended that you do not use the same shared directory for any third party containers.