From cc5775b8569c8bbb5d519f8d67265ef60bcc322f Mon Sep 17 00:00:00 2001 From: Kroese Date: Sat, 6 May 2023 20:18:21 +0200 Subject: [PATCH] Update readme.md --- readme.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index b82c7b8..fb634f2 100644 --- a/readme.md +++ b/readme.md @@ -72,7 +72,7 @@ docker run -it --rm -e "BOOT=http://www.example.com/image.iso" --device=/dev/kvm ``` environment: - DISK_SIZE: "16G" + DISK_SIZE: "256G" ``` * ### How do I change the location of the data disk? @@ -84,6 +84,17 @@ docker run -it --rm -e "BOOT=http://www.example.com/image.iso" --device=/dev/kvm - /home/user/data:/storage ``` + * ### How do I change the space reserved by the data disk? + + By default, the entire disk space is reserved in advance. To reserve only the space actually used by the disk, add the following environment variable: + + ``` + environment: + ALLOCATE: "N" + ``` + + Keep in mind that this will not affect any of your existing disks, it only applies to newly created disks. + * ### How do I increase the amount of CPU/RAM? By default, a single core and 512MB of RAM is allocated to the container. To increase this, add the following environment variables: