Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Readme #580

Merged
merged 1 commit into from
Jan 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,20 +201,20 @@ docker run -it --rm -p 5000:5000 --device=/dev/kvm --cap-add NET_ADMIN --stop-ti

* ### How do I pass-through a disk?

When running the container inside a virtualized environment, it can be handy to pass-through disk devices directly instead of binding a folder containing an image. As these devices are already backed by an image on the host, this will remove an extra layer.

This allows for easier management and higher performance. To do so, you can add those devices to your compose file:
It is possible to pass-through disk devices directly by adding them to your compose file in this way:

```yaml
environment:
DEVICE: "/dev/sda"
DEVICE2: "/dev/sdb"
DEVICE2: "/dev/sda"
DEVICE3: "/dev/sdb"
devices:
- /dev/sda
- /dev/sdb
```

Please note that the device needs to be totally empty (without any partition tables) otherwise DSM may not format it into a volume.
Please note that the device needs to be totally empty (without any partition table) otherwise DSM does not always format it into a volume.

Do NOT use this feature with the goal of sharing files from the host, they will all be lost without warning when DSM creates the volume.

* ### How do I install a specific version of vDSM?

Expand Down