6.3 Managing Container Volume Data

Docker supports several mechanisms for data storage and persistence. One such mechanism of persisting container data is by using shared directory in containers.

The examples used in this guide assumes that you create and use shared directory. For example, create a shared directory called /data on your Docker host.

mkdir /data

However, you can use other data storage and persistence mechanisms 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.