4 ms·
> What if the docker daemon is on a storage server and the host volume of /stuff contains, say, 10 terabytes of photo album content? In this extreme example I
by EnigmaCurry 4y ago
> What if the docker daemon is on a storage server and the host volume of /stuff contains, say, 10 terabytes of photo album content?
In this extreme example I think probably a bind mount might make sense, especially if the files are already there. But the named volume would just be stored in /var/lib/docker/volumes/some-volume-name, so as long as that /var/lib has 10TB I don't see the problem.
I can use my sftp container [1] to be able to sftp directly into a volume, but I've not yet transferred 10TB with it :)
[1] https://github.com/EnigmaCurry/d.rymcg.tech/tree/master/sftp https://github.com/EnigmaCurry/d.rymcg.tech/tree/master/sftp
- Terretta 4y agodocker etc is on a flash partition, data is on a few 16 drive arrays… … but this made me discover this: docker volume create \ --driver local \ --opt type=cifs \ --opt device=//uxxxxx.your-server.de/backup \ --opt o=addr=uxxxxx.your-server.de,\ username=uxxxxxxx,\ password=*****,\ file_mode=0777,dir_mode=0777 \ --name cif-volume So that simplifies a lot for my use cases. Thank you for all the replies!
- EnigmaCurry 4y agoThats really cool, I've only ever used the local driver with default settings, which stores to /var/lib/docker, but I guess theres different storage drivers that do different sorts of storage. nice find!