mirror of
https://github.com/AuxXxilium/arv-v-dsm.git
synced 2024-11-23 23:10:58 +07:00
Disk location
This commit is contained in:
parent
bead87ae4b
commit
e250830592
@ -71,13 +71,15 @@ docker run -it --rm -p 5000:5000 --device=/dev/kvm --cap-add NET_ADMIN --stop-ti
|
||||
|
||||
* ### How do I change the location of the virtual disk?
|
||||
|
||||
To change the virtual disk's location from the default docker volume, include the following bind mount in your compose file and replace the path `/home/user/data` with the desired storage folder:
|
||||
To change the virtual disk's location from the default docker volume, include the following bind mount in your compose file:
|
||||
|
||||
```
|
||||
volumes:
|
||||
- /home/user/data:/storage
|
||||
```
|
||||
|
||||
Replace the example path `/home/user/data` with the desired storage folder.
|
||||
|
||||
* ### How do I change the space reserved by the virtual disk?
|
||||
|
||||
By default, the entire disk space is reserved in advance. To create a growable disk, that only reserves the space that is actually used, add the following environment variable:
|
||||
|
Loading…
Reference in New Issue
Block a user