As per the guide written here (http://www.robertoboccadoro.com/2019/07/10/community-written-guides-on-openntf-wiki/), the recommended practice is to use docker volumes to host the notesdata directory. However the default directory for a docker volume is /var/libs/docker/volumes/ so this is bad news since there is no way we can allocate many gigabytes to /var partition.
Yes, I am aware that docker volume create command have --options that allow me to "mount" other "volumes", however when used this way there are some errors when the setup script ran.
tar: ./domino/adm-bin/acls: Cannot create symlink to `/opt/ibm/domino/bin/tools/execbin': Read-only file system
tar: ./domino/adm-bin/console: Cannot create symlink to `/opt/ibm/domino/bin/tools/execbin': Read-only file system
tar: ./domino/adm-bin/listdb: Cannot create symlink to `/opt/ibm/domino/bin/tools/execbin': Read-only file system
tar: ./domino/adm-bin/alerts: Cannot create symlink to `/opt/ibm/domino/bin/tools/execbin': Read-only file system
tar: ./domino/adm-bin/webstats: Cannot create symlink to `/opt/ibm/domino/bin/tools/execbin': Read-only file system
tar: Exiting with failure status due to previous errors
Those error does not seemed to affect the operation of Domino server, but to be able to resolve this is certainly appreciated.
Tinus Riyanto - Prisma Global Solusi
@Thomas, agreed. That's why I put " / guides" on the title :D For the sake of other who might be experiencing this, I will outline the environment I am testing this on
mount -t vboxsf dominodata -o uid=0,gid=0,fmode=777,dmode=777 /media/dominodata on /etc/rc.d/rc.local
docker volume create --driver local --opt device=/media/dominodata --opt o=bind domino_hades_data
DOCKER_VOLUMES = -v /media/dominodata:/local/notesdata or
DOCKER_VOLUMES = -v domino_hades_data:/local/notesdata
I am sure that there is a permission issue somewhere, but so far experimenting with the volume options or mount permission yielded no positive result.
Tinus Riyanto - Prisma Global Solusi
This can already be done with the current docker image - hosting the data directory somewhere else is a feature of the docker host, not the image that we are providing. please consult the documentation of docker for more information.