Disk space
This commit is contained in:
parent
d12d7000e7
commit
041b5909b7
1 changed files with 3 additions and 1 deletions
|
@ -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?
|
||||
|
||||
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:
|
||||
- /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?
|
||||
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue