3 ms·
docker 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 \
by Terretta 4y ago
docker 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!