Disk space

This commit is contained in:
Kroese 2023-05-06 20:43:13 +02:00 committed by GitHub
parent d12d7000e7
commit 041b5909b7

View file

@ -77,13 +77,15 @@ docker run -it --rm -e "BOOT=http://www.example.com/image.iso" --device=/dev/kvm
* ### How do I change the location of the data disk? * ### How do I change the location of the data disk?
To change the data 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 data disk's location from the default docker volume, include the following bind mount in your compose file:
``` ```
volumes: volumes:
- /home/user/data:/storage - /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 data disk? * ### How do I change the space reserved by the data 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: 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: