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?