mirror of
https://github.com/AlbrechtL/openwrt-docker.git
synced 2026-10-15 00:01:23 +00:00
Update readme.md
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user