Notes/docs/Command Snippets/Docker - Miscellaneous.md

10 lines
285 B
Markdown
Raw Normal View History

- Create CIFS/Samba Volume
```bash
docker volume create \
--driver local \
--opt type=cifs \
--opt device=//uxxxxx.your-server.de/backup \
2024-10-16 14:44:20 +08:00
--opt o=username=USERNAME,password=PASSWORD \
--name VOLUME_NAME
2024-10-16 14:44:20 +08:00
```
*Native CIFS credentials file is not supported with Docker CIFS volumes*