Update readme.md

This commit is contained in:
Kroese 2023-05-06 20:18:21 +02:00 committed by GitHub
parent 72651f0265
commit cc5775b856

View file

@ -72,7 +72,7 @@ docker run -it --rm -e "BOOT=http://www.example.com/image.iso" --device=/dev/kvm
``` ```
environment: environment:
DISK_SIZE: "16G" DISK_SIZE: "256G"
``` ```
* ### How do I change the location of the data disk? * ### 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 - /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? * ### 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: By default, a single core and 512MB of RAM is allocated to the container. To increase this, add the following environment variables: