I have just setup the ownCloud service with VirtualBox Appliance on my own server. But since the default virtual disk size is very limited, I’d like to create a separate disk image for data only.
My steps would include:
Create a new disk image.
Mount the new disk image to Debain VM.
Create a Docker volume with the mounted space.
Link the new volume to the default docker container.
Update the config.php file to point data directory to the new volume.
While since I’m new to Docker, I can’t find where/how to link the new created volume to the ownCloud docker, which is the above Step 4. Could you please shed some light on this?
You might want to ask in the univention forums if they have ideas about how you can deal with that problem.
On the ownCloud side, you can use an external storage and store files there (with the known limitations of using an external storage). Depending on how you plan to use ownCloud, this could be an option to have more space.