I have a website that is very similar to Youtube. Video storage and playback. I have it running in a container, but as videos are added the container grows and grows. This container can easily get to 5-10 terabytes which becomes a major issue backing it up. One problem and it all blows up. Some how I need website in container and yet videos outside or in another. Presently using ZFS, but not sure how to split the storage. Your proven ideas welcomed.
Do add a device disk?
lxc config device add <CONTAINER> videos disk path=/mnt/videos source=/home/user/videos
path is path inside container
source is path on host, outside container
Also see config of privileged container
Thanks, will look into it.