Disk location

This commit is contained in:
Kroese 2023-05-06 20:40:26 +02:00 committed by GitHub
parent bead87ae4b
commit e250830592

View File

@ -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: